зеркало из https://github.com/mozilla/gecko-dev.git
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 |