React Hookers - v6.3.0
    Preparing search index...

    Type Alias Schedule

    Schedule: <A extends any[]>(
        cb: (...args: A) => void,
        ms: number,
        ...args: A,
    ) => void

    Schedules a timed invocation of the callback with provided arguments.

    Type declaration

      • <A extends any[]>(cb: (...args: A) => void, ms: number, ...args: A): void
      • Type Parameters

        • A extends any[]

          The callback arguments.

        Parameters

        • cb: (...args: A) => void

          The callback to invoke.

        • ms: number

          The delay after which the callback must be invoked.

        • ...args: A

          Varargs that are passed as arguments to the callback.

        Returns void