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