Crate bitcoincore_zmq
source ·Structs
- MessageStream
async
Stream that asynchronously producesMessage
s using a ZMQ subscriber. - MultiMessageStream
async
Stream that asynchronously producesMessage
s using multiple ZMQ subscribers. The ZMQ sockets are polled in a round-robin fashion.
Enums
Constants
Functions
- Subscribes to multiple ZMQ endpoints and returns a
Receiver
. - Subscribes to multiple ZMQ endpoints and returns a
MultiMessageStream
. - Subscribes to multiple ZMQ endpoints and blocks the thread until
ControlFlow::Break
is returned by the callback. - Subscribes to a single ZMQ endpoint and returns a
Receiver
. - Subscribes to a single ZMQ endpoint and returns a
MessageStream
. - Subscribes to a single ZMQ endpoint and blocks the thread until
ControlFlow::Break
is returned by the callback.