summaryrefslogtreecommitdiff
path: root/ops/optimizer_tests/callback_options.expected
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-11-11 05:44:53 -0800
committerGitHub <noreply@github.com>2022-11-11 19:14:53 +0530
commit5b9620df7ac655449abd2cce5292bd4669b1f211 (patch)
tree5fd028c3bc3f2963172aada45c3e56174863d2f1 /ops/optimizer_tests/callback_options.expected
parentff92febb385c166744b49219ca7b3059c41ad34a (diff)
feat(ops): implement fast lazy async ops (#16579)
Implements fast scheduling of deferred op futures. ```rs #[op(fast)] async fn op_read( state: Rc<RefCell<OpState>>, rid: ResourceId, buf: &mut [u8], ) -> Result<u32, Error> { // ... } ``` The future is scheduled via a fast API call and polled by the event loop after being woken up by its waker.
Diffstat (limited to 'ops/optimizer_tests/callback_options.expected')
-rw-r--r--ops/optimizer_tests/callback_options.expected2
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/optimizer_tests/callback_options.expected b/ops/optimizer_tests/callback_options.expected
index 063032bb5..b309ab987 100644
--- a/ops/optimizer_tests/callback_options.expected
+++ b/ops/optimizer_tests/callback_options.expected
@@ -6,3 +6,5 @@ has_fast_callback_option: false
fast_result: Some(Void)
fast_parameters: [V8Value]
transforms: {}
+is_async: false
+fast_compatible: true