feat: op registration in core (#3002)

This commit is contained in:
Bartek Iwańczuk 2019-09-30 20:59:44 +02:00 committed by Ryan Dahl
parent ae26a9c7a2
commit ffbf0c20cc
8 changed files with 207 additions and 91 deletions

View file

@ -37,6 +37,11 @@ declare interface DenoCore {
shift(): Uint8Array | null;
};
ops: {
init(): void;
get(name: string): number;
};
recv(cb: MessageCallback): void;
send(