Function: waitTillCompleted()
function waitTillCompleted(
   client, 
   shardId, 
hash): Promise<IReceipt[]>
Parameters
| Parameter | Type | Description | 
|---|---|---|
| 
 | The client that must wait for action completion. | |
| 
 | 
 | The ID of the shard where the message is processed. | 
| 
 | `0x${string}` | The message hash. | 
Returns
Promise <IReceipt[]>