import { ChannelImpl } from "https://deno.land/x/rimbu@1.0.2/channel/custom/channel/channel-impl.ts";
Methods
asyncStream(): AsyncStream<T>
close(): void
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>
[Symbol.asyncIterator](): AsyncIterator<T>