LiveSourceChangeHandlerImpl

internal class LiveSourceChangeHandlerImpl(processingScope: <Error class: unknown class>) : LiveSourceChangeHandler

Constructors

Link copied to clipboard
constructor(processingScope: <Error class: unknown class>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun clear(): <Error class: unknown class>

Cancel the catching up job and reset the last time the websocket was opened and the last time an event was received.To be called when the websocket is closed.

Link copied to clipboard
open suspend override fun scheduleNewCatchingUpJob(interval: <Error class: unknown class>, onEventIntervalGapReached: () -> Unit): <Error class: unknown class>

Schedule a new catching up job that will be cancelled if there was already one pending scheduled. Scheduled to run once with a delay of CATCHING_UP_JOB_EVENT_INTERVAL.

Link copied to clipboard
open suspend override fun startNewCatchingUpJob(interval: <Error class: unknown class>, onStartIntervalReached: () -> Unit): <Error class: unknown class>

Start the processing of the catching up job.

Link copied to clipboard
open override fun toString(): String