@grandlinex/core
    Preparing search index...

    Class BackgroundService

    A service that performs background tasks on a periodic schedule.

    This service extends CoreLoopService and automatically triggers its loop method every 120000 milliseconds (2 minutes). The loop implementation simply delegates to the base class's CoreLoopService#next routine, ensuring that any queued background work is processed.

    The kernel module instance that the service will operate within.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    channel: string
    forceStop: boolean = false
    interval: Timeout | null
    logger: CoreLogger | null
    skipAutoStart: boolean
    state: ServiceStates = 'INIT'
    timeOut: number

    Methods