Skip to main content

Module sync

Module sync 

Source
Expand description

Synchronization primitives specific to the CometBFT RPC client.

At present, this wraps Tokio’s synchronization primitives and provides some convenience methods. We also only implement unbounded channels at present. In future, if RPC consumers need it, we will implement bounded channels.

Structs§

ChannelRx
Receiver interface for a channel.
ChannelTx
Sender interface for a channel.

Functions§

unbounded
Constructor for an unbounded channel.