Archived
1
0

Add evaluate

This commit is contained in:
Kyle Carberry
2019-01-11 13:33:44 -06:00
parent 32294a5b1b
commit cff746db32
23 changed files with 5257 additions and 2 deletions

View File

@ -0,0 +1,9 @@
export interface SendableConnection {
send(data: Buffer | Uint8Array): void;
}
export interface ReadWriteConnection extends SendableConnection {
onMessage(cb: (data: Uint8Array | Buffer) => void): void;
onClose(cb: () => void): void;
close(): void;
}