gecko-dev/xpcom/rust
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
..
gkrust_utils
gtest Bug 1625138 - Part 27: Replace mozilla::DeclVal with std::declval. r=froydnj 2020-03-28 13:57:18 +00:00
moz_task Bug 1625286 - Expose dispatch flags to moz_task. r=KrisWright 2020-03-30 19:24:08 +00:00
nserror
nsstring Bug 1613564 - Minor nsstring cleanup / tweaks. r=froydnj 2020-02-27 15:42:58 +00:00
xpcom Bug 1617369 - Reformat xpcom using rustfmt r=froydnj 2020-02-25 16:17:12 +00:00