onmessage 0.2.0 copy "onmessage: ^0.2.0" to clipboard
onmessage: ^0.2.0 copied to clipboard

A stream wrapping JavaScript's `window.onmessage` that is safe to import even on platforms other than web.

0.2.0 #

  • BREAKING: Hidden constructors for the platform implementation classes to only use singletons.
  • Improved doc comments.
  • Use total_lints.

0.1.3 #

  • Fix formatting.

0.1.2 #

  • Overridden MessageEvent.toString() to show all fields.
  • Added an example.
  • Added analysis_options.yaml.
  • Re-licensed under MIT No Attribution.

0.1.1 #

  • Exposed MessageEvent.source, MessageEvent.ports.
  • Improved docs.

0.1.0 #

  • Initial release.
8
likes
160
pub points
80%
popularity

Publisher

verified publisherainkin.com

A stream wrapping JavaScript's `window.onmessage` that is safe to import even on platforms other than web.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT-0 (license)

Dependencies

meta

More

Packages that depend on onmessage