Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Releases: stan-kondrat/promise-rs

v0.3.0

09 Apr 11:03
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  1. Added all and await methods
  2. Documentation https://docs.rs/promise-rs

v0.2.0

20 Mar 22:46
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  1. Added onRejected: for catch method, and second argument for then method.
  2. Added value for resolve and reason for reject methods. Type should be Option<String>.
  3. onFulfilled and onRejected method should always return Option<String> or None.

v0.1.0 - It's Alive

20 Mar 22:03
Compare
Choose a tag to compare
v0.1.0 - It's Alive Pre-release
Pre-release

Just create new promise Promise::new(executor), spawn executor in new thread and chain then(on_fulfilled) handlers.