import { ChannelImpl } from "https://deno.land/x/rimbu@1.2.1/channel/custom/index.ts";
Methods
asyncStream(): AsyncStream<T>
close(): void
readable(): Channel.Read<T>
receive<RT>(options?: { signal?: AbortSignal | undefined; timeoutMs?: number | undefined; recover?: ((channelError: Channel.Error) => RT) | undefined; }): Promise<T | RT>
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>
[Symbol.asyncIterator](): AsyncIterator<T>