pragma
pragma copied to clipboard
Upgrade @aantron/repromise to reason-promise
Repromise became reason-promise in 1.0.0. The API was renamed (e.g., Repromise.wait is now Promise.get), rearranged to prefer -> instead of |>, and helpers were added for Result and Option, as well as some miscellaneous ones. In particular, the addition of mapOk, tapOk, flatMapOk, mapSome, and Promise.Js.toResult has made Promises.re redundant, so I've removed it.
The bundle size of reason-promise was reduced to 1K. See the changelog here; there are also two subsequent bugfix releases.
Hey @aantron thank you for your work on this!