Home > @holochain/tryorama > conductorCellsDhtSync
A utility function to wait until all conductors' integrated DhtOps are identical for a DNA.
Signature:
conductorCellsDhtSync: (conductorCells: IConductorCell[], interval?: number, timeout?: number) => Promise<void>
Parameter |
Type |
Description |
---|---|---|
conductorCells |
Array of IConductorCell. | |
interval |
number |
(Optional) Interval to pause between comparisons (defaults to 50 ms). |
timeout |
number |
(Optional) A timeout for the delay (optional). |
Promise<void>
A promise that is resolved after all agents' DHT states match.