• Parameters

    Returns {
        effect: {
            timeout: ((signal, durationMs) => Abortable<void>);
        };
        removeEffect?: (() => void);
    }

    • effect: {
          timeout: ((signal, durationMs) => Abortable<void>);
      }
      • timeout: ((signal, durationMs) => Abortable<void>)
          • (signal, durationMs): Abortable<void>
          • Parameters

            • signal: AbortSignal
            • durationMs: number

            Returns Abortable<void>

    • Optional removeEffect?: (() => void)
        • (): void
        • Returns void

Generated using TypeDoc