js-promises

Crates.iojs-promises
lib.rsjs-promises
version0.1.0
sourcesrc
created_at2019-11-08 15:03:49.69738
updated_at2019-11-08 15:03:49.69738
descriptionBindings for JS promises
homepage
repositoryhttps://gitlab.com/colonelthirtytwo/js-promises-rs
max_upload_size
id179390
size41,927
Alex Parrill (ColonelThirtyTwo)

documentation

README

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.
Commit count: 15

cargo fmt