Function newAbortableRenderScheduler

  • Creates an abortable render schedule.

    Type Parameters

    • TExecution extends RenderExecution<TExecution>

      A type of supported render shot execution context.

    • TOptions extends RenderScheduleOptions

      A type of accepted render schedule options.

    Parameters

    • scheduler: RenderScheduler<TExecution, TOptions>

      A render scheduler to schedule rendering by.

    • supply: Supply = ...

      Schedule supply. Once cut off, stops rendering in all schedules created by new scheduler. A new supply will be created if omitted.

    Returns AbortableRenderScheduler<TExecution, TOptions>

    New abortable render scheduler instance.

Generated using TypeDoc