• Parameters

    Returns {
        effect: {
            loop: ((signal) => Promise<void>);
        };
        removeEffect?: (() => void);
    }

    • effect: {
          loop: ((signal) => Promise<void>);
      }
      • loop: ((signal) => Promise<void>)
          • (signal): Promise<void>
          • Parameters

            • signal: AbortSignal

            Returns Promise<void>

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

Generated using TypeDoc