Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-11 | feat(ops): implement fast lazy async ops (#16579) | Divy Srivastava | |
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. |