Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/parallel/channel.ts>wrapChannel

A JavaScript extension package for building strong and modern applications.
Latest
function wrapChannel
import { wrapChannel } from "https://deno.land/x/ayonli_jsext@v0.9.72/parallel/channel.ts";

Parameters

channel: Channel<any>
channelWrite: (
type: "send" | "close",
msg: any,
channelId: number,
) => void

Returns

object