Options
All
  • Public
  • Public/Protected
  • All
Menu

External module utils/async-done

Index

Functions

Functions

asyncDone

  • asyncDone<R>(fn: _asyncDone.AsyncTask<R>): Promise<R>
  • Converts an async task of any kind (callback, promise, observable) to a promise.

    Promise-based wrapper for the async-done package.

    Type parameters

    • R

    Parameters

    • fn: _asyncDone.AsyncTask<R>

      An async task supported by async-done.

    Returns Promise<R>

    Promise for the task result.

Generated using TypeDoc