Function TimeoutAfter

  • TimeoutAfter<T>(action: Promise<T>, timeout?: number): Promise<T>
  • Since

    2.0.6

    Version

    2020-06-02

    Type Parameters

    • T

    Parameters

    • action: Promise<T>
    • timeout: number = 500

      in million seconds, Defaults: 500

    Returns Promise<T>

Generated using TypeDoc