You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is already a Promise.resolve method that works similar to your proposed Promise.fulfill. The naming is for consistency with javascript's Promise.resolve function
Javascript does have a Promise.reject function, so having one in this library would be appropriate.
For now the readme says:
Last two PRs I've made introduced a change so following is possible:
What about an extra
Promise.reject
andPromise.fulfill
, so following is possible?Is it ok?
The text was updated successfully, but these errors were encountered: