Constraints to be applied on scheduler

Remarks

Since 2.2.0

Hierarchy

  • SchedulerConstraints

Properties

Properties

act: ((f: (() => Promise<void>)) => Promise<unknown>)

Type declaration

    • (f: (() => Promise<void>)): Promise<unknown>
    • Ensure that all scheduled tasks will be executed in the right context (for instance it can be the act of React)

      Remarks

      Since 1.21.0

      Parameters

      • f: (() => Promise<void>)
          • (): Promise<void>
          • Returns Promise<void>

      Returns Promise<unknown>

Generated using TypeDoc