mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 02:02:33 +00:00
80920e5871
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 |
||
---|---|---|
.. | ||
gkrust_utils | ||
gtest | ||
moz_task | ||
nserror | ||
nsstring | ||
xpcom |