@textile/hub > WriteTransaction > (constructor)
WriteTransaction.(constructor)
Constructs a new instance of the WriteTransaction
class
Signature:
constructor(context: ContextInterface, client: grpc.Client<WriteTransactionRequest, WriteTransactionReply>, threadID: ThreadID, modelName: string);
Parameters
Parameter | Type | Description |
---|---|---|
context | ContextInterface | |
client | grpc.Client<WriteTransactionRequest, WriteTransactionReply> | |
threadID | ThreadID | |
modelName | string |