Skip to content

Commit

Permalink
fix(xsnap worker): update syscall API to use .resolve()
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Jan 24, 2021
1 parent 701e2f4 commit d200428
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ function makeWorker(port) {
send: (...args) => doSyscall(['send', ...args]),
callNow: (...args) => doSyscall(['callNow', ...args]),
subscribe: (...args) => doSyscall(['subscribe', ...args]),
fulfillToData: (...args) => doSyscall(['fulfillToData', ...args]),
fulfillToPresence: (...args) => doSyscall(['fulfillToPresence', ...args]),
reject: (...args) => doSyscall(['reject', ...args]),
resolve: (...args) => doSyscall(['resolve', ...args]),
});

const vatPowers = {
Expand Down

0 comments on commit d200428

Please sign in to comment.