It would be useful to have the static method implementation that work with pure native promises without extending the base class. Afaik promises returned by async-await will always be plain vanilla ones, and remembering to wrap them all with Promise.resolve is a pain.
It would be useful to have the static method implementation that work with pure native promises without extending the base class. Afaik promises returned by async-await will always be plain vanilla ones, and remembering to wrap them all with
Promise.resolveis a pain.