Type alias default<T>

default<T>: {
    dwait: (() => DeferredPromise<T>);
}

Type Parameters

  • T

Type declaration

  • dwait: (() => DeferredPromise<T>)

    Converts the promise into a DeferredPromise from the dwait library.

    Returns

    The DeferredPromise of the actual result.

      • (): DeferredPromise<T>
      • Converts the promise into a DeferredPromise from the dwait library.

        Returns DeferredPromise<T>

        The DeferredPromise of the actual result.

Generated using TypeDoc