mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
8 lines
301 B
TypeScript
8 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;
|
|
}
|