mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
9 lines
301 B
TypeScript
9 lines
301 B
TypeScript
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
|
// All rights reserved. MIT License.
|
|
declare namespace V8Worker2 {
|
|
function print(...args: any[]): void;
|
|
type RecvCallback = (ab: ArrayBuffer) => void;
|
|
function recv(cb: RecvCallback): void;
|
|
function send(ab: ArrayBuffer): null | ArrayBuffer;
|
|
}
|