Function useFailureCount

  • Returns a count of the number of times the provided async function has failed.

    Type Parameters

    • AF extends AsyncFunc

    Parameters

    • injectableFn: AF

      the async function to inject and count failures of

    Returns number

    the count of failures

Generated using TypeDoc