These functions interact with the consensus network itself.
Returns a Promise for the current consensus network time. For ETH and ALGO, this is the current block number, represented as a BigNumber.
Returns a Promise that will only be resolved after the specified consensus network time. In isolated testing modes, this will also force time to pass on the network, usually by sending trivial transactions. An isolated testing mode is a REACH_CONNECTOR_MODE that matches $NET-devnet for all valid $NET, or when REACH_ISOLATED_NETWORK is set.
You may provide an optional
onProgress callback, used for reporting progress,
which may be called many times up until the specified time.
It will receive an object with keys
Returns a Promise that will only be resolved after the specified time delta has elapsed.
await wait(delta, onProgress) is the same as
await waitUntilTime(add(await getNetworkTime(), delta), onProgress).
onProgress callback is optional.
connector : Connector