Module Message.ChannelSource

Message channels.

See the Channel Messaging API.

Sourcetype t

The type for MessageChannel objects.

Sourceval create : unit -> t

create () is a new channel.

Sourceval port1 : t -> Port.t

port c is the first port of c. The port attached to the context that created the channel.

Sourceval port2 : t -> Port.t

port2 c is the second port of c. The port attached to the context at the other end of the channel.