Israeli Bank Importer - v1.44.5
    Preparing search index...

    One poll-loop run: its liveness, start time, error policy and cancellation.

    Index
    • get isActive(): boolean

      Whether the run may start another poll cycle.

      Returns boolean

      False once the run has been ended or stopped.

    • Ends the run once its in-flight cycle settles, cutting any backoff sleep short. An in-flight poll is left to finish so its updates still dispatch.

      Returns void

      Nothing — this is a side-effecting state change.

    • Ends the run and also aborts its in-flight long poll.

      Returns void

      Nothing — this is a side-effecting state change.

    • Waits out a retry backoff, returning early when the run is ended.

      Parameters

      • ms: number

        Backoff duration in milliseconds.

      Returns Promise<Procedure<{ status: string }>>

      Resolves when the backoff elapses or the run is ended.

    recovery: default = ...

    Classifies this run's poll failures; a new run starts with a zero count.

    startedAt: number = ...

    Unix seconds when the run started; earlier messages are not dispatched.