Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VideoFrameProcessorTimer

VideoFrameProcessorTimer defines a timer used in the context of video frame processing.

Hierarchy

Implemented by

Index

Methods

Methods

destroy

  • destroy(): Promise<void>

start

  • start(delay: number, callback: () => void): Promise<void>
  • Starts the timer with a specified delay and callback function.

    Parameters

    • delay: number

      The delay in milliseconds after which the callback function should be invoked.

    • callback: () => void

      The function to be called when the timer expires.

        • (): void
        • Returns void

    Returns Promise<void>

Generated using TypeDoc