mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
cleanup(core): rename handleAsyncMsgFromRust() to opresolve() (#11774)
No user impact, but is simpler and aligns with `opcall()`
This commit is contained in:
parent
37c983d1e8
commit
bfc197f33e
2 changed files with 5 additions and 6 deletions
|
@ -88,7 +88,7 @@
|
|||
opsCache = ObjectFreeze(ObjectFromEntries(opcall(0)));
|
||||
}
|
||||
|
||||
function handleAsyncMsgFromRust() {
|
||||
function opresolve() {
|
||||
for (let i = 0; i < arguments.length; i += 2) {
|
||||
const promiseId = arguments[i];
|
||||
const res = arguments[i + 1];
|
||||
|
@ -179,7 +179,7 @@
|
|||
resources,
|
||||
registerErrorBuilder,
|
||||
registerErrorClass,
|
||||
handleAsyncMsgFromRust,
|
||||
opresolve,
|
||||
syncOpsCache,
|
||||
BadResource,
|
||||
Interrupted,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue