Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/channel/custom/remote-channel/remote-channel-impl.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>
import { RemoteChannelWrite } from "https://deno.land/x/rimbu@1.2.1/channel/custom/remote-channel/remote-channel-impl.ts";

Constructors

new
RemoteChannelWrite(port: RemoteChannel.SimpleMessagePort, config: RemoteChannel.ReadConfig)

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>
writable(): Channel.Write<T>