Class to handle epoch rollover through db polling

Hierarchy

  • DbSyncEpochPollService

Implements

Constructors

Properties

#callbacks: Function[]
#currentEpoch: Promise<null | EpochNo>
#db: Pool

Db connection

#interval: number

Polling interval in ms

#timeoutId?: Timer

Methods

Generated using TypeDoc