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

x/rimbu/channel/custom/index.ts>RemoteChannelWrite

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class RemoteChannelWrite
implements [Channel.Write]<T>
Re-export
import { RemoteChannelWrite } from "https://deno.land/x/rimbu@1.2.0/channel/custom/index.ts";

Properties

readonly
initialized: Promise<void>
readonly
isClosed: boolean

Methods

close(): void
send(value: T, options?: { signal?: AbortSignal | undefined; timeoutMs?: number | undefined; catchChannelErrors?: boolean | undefined; }): Promise<any>
sendAll(source: AsyncStreamSource<T>, options?: { signal?: AbortSignal | undefined; timeoutMs?: number | undefined; catchChannelErrors?: boolean | undefined; }): Promise<any>