mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
perf(runtime): short-circuit queue_async_op
for Poll::Ready (#15773)
This commit is contained in:
parent
c0a684c14e
commit
d2a408f452
15 changed files with 295 additions and 167 deletions
|
@ -420,7 +420,7 @@ pub async fn op_ws_send(
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[op]
|
||||
#[op(deferred)]
|
||||
pub async fn op_ws_close(
|
||||
state: Rc<RefCell<OpState>>,
|
||||
rid: ResourceId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue