UNPKG

@vechain/sdk-network

Version:

This module serves as the standard interface connecting decentralized applications (dApps) and users to the VeChainThor blockchain

29 lines (25 loc) 799 B
/** * Options for the force stop of the sync polling. */ interface SyncPollInputOptions { /** * The maximum number of iterations. * Poll will stop after this number of iterations, no matter condition is met or not. * * @note If not specified limit on iterations is NOT given. */ maximumIterations?: number; /** * The interval of time (in milliseconds) between each function call. * * @note If not specified a default value is given. */ requestIntervalInMilliseconds?: number; /** * The maximum amount of time (in milliseconds) to wait for the condition to be met. * * @note If not specified limit on time is NOT given. */ maximumWaitingTimeInMilliseconds?: number; } export { type SyncPollInputOptions };