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

    Manages start/stop lifecycle of an injected TelegramPoller.

    Index
    • Binds the lifecycle to a concrete TelegramPoller instance. Must be called once after construction (the poller is created after the mediator).

      Parameters

      • poller: default

        The TelegramPoller to manage.

      Returns Procedure<{ status: string }>

      Procedure indicating the poller was set.

    • Stops the poller before an import begins. Idempotent — repeated calls before resume() do nothing.

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

      Procedure with status no-poller, already-stopped, or stopped.

    • Resumes the poller after the queue drains. Fire-and-forget on the resume Promise to avoid dead-locking the queue-empty callback.

      Returns Procedure<{ status: string }>

      Procedure with status no-poller or poller-resumed.