1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ops/tests
Divy Srivastava 5b9620df7a
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.
2022-11-11 19:14:53 +05:30
..
compile_fail feat(ops): implement fast lazy async ops (#16579) 2022-11-11 19:14:53 +05:30
01_fast_callback_options.rs feat(ops): support v8::FastApiCallbackOptions (#15721) 2022-09-01 15:53:06 +05:30
mod.rs feat(ops): support v8::FastApiCallbackOptions (#15721) 2022-09-01 15:53:06 +05:30