async_hooks library

Functions

useFuturePromise<T>(Future<T> future) Promise<T>
useStreamPromise<T>(Stream<T> stream) Promise<T>