ERef<T>: PromiseLike<T> | T

Declare that T may or may not be a Promise. This should be used only for consumers of arguments and declarations; return values should specifically be Promise<T> or T itself.

Type Parameters

  • T