waitForReplicants
(static) waitForReplicants(replicants)
โ {Promise.<any>}
Lets you easily wait for a group of Replicants to finish declaring.
Returns a promise which is resolved once all provided Replicants have emitted a change event, which is indicates that they must have finished declaring.
This method is only useful in client-side code. Server-side code never has to wait for Replicants.
Parameters
Name | Type | Description |
---|---|---|
replicants | Replicant |
Example
From a graphic or dashboard panel: