js-promises 0.1.0

Bindings for JS promises
Documentation
  • Coverage
  • 93.33%
    28 out of 30 items documented0 out of 25 items with examples
  • Size
  • Source code size: 41.92 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 763.53 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 47s Average build duration of successful builds.
  • all releases: 47s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • colonelthirtytwo/js-promises-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ColonelThirtyTwo

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.