import { CrossChannel } from "https://deno.land/x/rimbu@1.2.0/channel/main/index.ts";
Interfaces
Configuration options for creating a CrossChannel | |
Defines the static |
Type Aliases
A pair of CrossChannels in which the send module of the first is connected to the receive of the second, and the send module of the second is connected to the receive module of the first. |
import { type CrossChannel } from "https://deno.land/x/rimbu@1.2.0/channel/main/index.ts";
A CrossChannel is a channel of which the send and receive modules are not internally connected. This means that the send and receive message types can also differ. A normal Channel can receive its own message, but a CrossChannel cannot, and so they are usually created in pairs to perform bidirectional communication with some other entity.
Type Parameters
optional
TReceive = TSendimport { CrossChannel } from "https://deno.land/x/rimbu@1.2.0/channel/main/index.ts";