diff options
Diffstat (limited to 'core/lib.deno_core.d.ts')
-rw-r--r-- | core/lib.deno_core.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts index 7e46d0f14..2a3764730 100644 --- a/core/lib.deno_core.d.ts +++ b/core/lib.deno_core.d.ts @@ -62,6 +62,11 @@ declare namespace Deno { function write(rid: number, buf: Uint8Array): Promise<number>; /** + * Write to a (stream) resource that implements write() + */ + function writeAll(rid: number, buf: Uint8Array): Promise<void>; + + /** * Print a message to stdout or stderr */ function print(message: string, is_err?: boolean): void; |