gecko-dev/xpcom/rust/moz_task
Lina Cambridge 80920e5871 Bug 1625286 - Expose dispatch flags to moz_task. r=KrisWright
This commit adds a `dispatch_with_options` method to Rust task
runnables, which takes a builder-style `DispatchOptions`
argument controlling how the runnable should be dispatched.
Currently, the only supported option is `may_block`, which
corresponds to `nsIEventTarget::DISPATCH_EVENT_MAY_BLOCK`.

Differential Revision: https://phabricator.services.mozilla.com/D68688

--HG--
extra : moz-landing-system : lando
2020-03-30 19:24:08 +00:00
..
src Bug 1625286 - Expose dispatch flags to moz_task. r=KrisWright 2020-03-30 19:24:08 +00:00
Cargo.toml