This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
Releases: stan-kondrat/promise-rs
Releases · stan-kondrat/promise-rs
v0.3.0
- Added
all
andawait
methods - Documentation https://docs.rs/promise-rs
v0.2.0
- Added
onRejected
: forcatch
method, and second argument forthen
method. - Added value for
resolve
and reason forreject
methods. Type should beOption<String>
. onFulfilled
andonRejected
method should always returnOption<String>
orNone
.
v0.1.0 - It's Alive
Just create new promise Promise::new(executor)
, spawn executor
in new thread and chain then(on_fulfilled)
handlers.