Function: waitTillCompleted()
function waitTillCompleted(
client,
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 message hash. |
|
| ‐ |
|
| ‐ |
|
| ‐ |
Returns
Promise
<ProcessedReceipt
[]>
Async
Example
await waitTillCompleted(client, hash);
Defined
@nilfoundation/niljs/src/utils/receipt.ts:15