Automatic long-poll sync loop. Depends on the {@link Sync} mixin being present in the chain.
This module provides 2 methods.
startSync()
stopSync()
Signature: async startSync(pollTimeout = 30000, since = null)
async startSync(pollTimeout = 30000, since = null)
Parameters:
Base
pollTimeout
30000]
since
null]
Returns: Promise<void>
Promise<void>
Signature: stopSync()
Stops the automatic sync polling loop. The current in-flight request will complete before the loop exits.
Parameters: None
There was an error while loading. Please reload this page.