Setu-TS
    Preparing search index...

    Type Alias CronHandler

    CronHandler: (controller: IScheduledController) => void | Promise<void>

    Invoked when a Cron Trigger fires.

    Type Declaration

      • (controller: IScheduledController): void | Promise<void>
      • Parameters

        • controller: IScheduledController

          The firing trigger, carrying its expression and the time it was scheduled for

        Returns void | Promise<void>

        Resolves when the work is done; the invocation stays alive until every handler for the expression settles

    0.2.0