Skip to main content
Module

x/workerio/mod.ts

🦕 Deno module to translate Worker's system of messages into Reader and Writer
Latest
import * as workerio from "https://deno.land/x/workerio@v3.1.0/mod.ts";

Classes

A WorkerReader is a Deno.Reader and Deno.Closer that reads data from a Worker.

A WorkerWriter is a Deno.Writer that defines a data channel of a Worker and writes data to it.

Functions

Creates a readable stream that reads data from a worker's postMessage event.

Creates a WritableStream that writes data to a Worker through Worker.postMessage.

Type Aliases

Options for creating a readable stream from a worker.

Options for creating a writable stream from a worker.