3 ms·
The main use I've seen is returning "promise-like" objects in functions that can be sync or async depending on params but are expected to have a common return t
by lucideer 3y ago
The main use I've seen is returning "promise-like" objects in functions that can be sync or async depending on params but are expected to have a common return type.