mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
feat: op registration in core (#3002)
This commit is contained in:
parent
ae26a9c7a2
commit
ffbf0c20cc
8 changed files with 207 additions and 91 deletions
5
deno_typescript/lib.deno_core.d.ts
vendored
5
deno_typescript/lib.deno_core.d.ts
vendored
|
@ -37,6 +37,11 @@ declare interface DenoCore {
|
|||
shift(): Uint8Array | null;
|
||||
};
|
||||
|
||||
ops: {
|
||||
init(): void;
|
||||
get(name: string): number;
|
||||
};
|
||||
|
||||
recv(cb: MessageCallback): void;
|
||||
|
||||
send(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue