class RemoteChannelWrite
extends RemoteChannelBase
Re-export
import { RemoteChannelWrite } from "https://deno.land/x/rimbu@1.2.0/channel/custom/index.ts";
Constructors
new
RemoteChannelWrite(port: RemoteChannel.SimpleMessagePort, config: RemoteChannel.ReadConfig)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>