| Crates.io | js-promises |
| lib.rs | js-promises |
| version | 0.1.0 |
| created_at | 2019-11-08 15:03:49.69738+00 |
| updated_at | 2019-11-08 15:03:49.69738+00 |
| description | Bindings for JS promises |
| homepage | |
| repository | https://gitlab.com/colonelthirtytwo/js-promises-rs |
| max_upload_size | |
| id | 179390 |
| size | 41,927 |
Rust crate for using and manipulating JS Promise objects, using stdweb.
Contains two major types:
RawPromise, a lightweight wrapper for a JS promise. These work with raw stdweb::Values.
It provides Rust methods for chaining promises with Rust functions, handling cleanup.Promise<TOk, TErr>, a more featureful wrapper that is capable of sending arbitrary Rust types.