@nevware21/ts-utils
    Preparing search index...

    Type Alias ScheduleMicrotaskFn

    ScheduleMicrotaskFn: (
        callback: MicrotaskFn,
        maxQueuedTasks?: number,
    ) => void | boolean

    Type alias for a function that is used to schedule a microtask, which is a function that takes a callback and schedules it to run

    Type Declaration

      • (callback: MicrotaskFn, maxQueuedTasks?: number): void | boolean
      • Parameters

        • callback: MicrotaskFn

          The microtask callback function to schedule.

        • OptionalmaxQueuedTasks: number

          Optional, the maximum number of queued tasks allowed before the scheduler starts dropping tasks or throwing errors, depending on the implementation.

        Returns void | boolean

    0.15.0