Function: waitTillCompleted()
function waitTillCompleted(
client,
shardId,
hash,
options?): Promise<ProcessedReceipt[]>
Makes it so that the client waits until the processing of the message whose hash is passed.
Parameters
Parameter | Type | Description |
---|---|---|
| The client that must wait for action completion. | |
|
| The ID of the shard where the message is processed. |
|
| The message hash. |
|
| ‐ |
|
| ‐ |
|
| ‐ |
Returns
Promise
<ProcessedReceipt
[]>
Async
Example
await waitTillCompleted(client, 1, hash);
Defined
@nilfoundation/niljs/src/utils/receipt.ts:16