• Note this does not replace the async function in case of an effect.

    Type Parameters

    • T = unknown

    Parameters

    • asyncFunction: (() => T | PromiseLike<T>)

      function to call.

        • (): T | PromiseLike<T>
        • Returns T | PromiseLike<T>

    • options: Partial<PollingOptions> = {}

      extra options for polling

    Returns void

Generated using TypeDoc