Home > types > AsyncOrSync
Useful as a return type in interfaces or abstract classes with missing implementation
Signature:
export declare type AsyncOrSync<T> = PromiseLike<T> | T;