pub fn subscribe_single_blocking<F, B>(
endpoint: &str,
callback: F,
) -> Result<ControlFlow<B, Infallible>, Error>
👎Deprecated since 1.3.2: Use subscribe_blocking. This function has no performance benefit over subscribe_multi_blocking anymore.
Expand description
Subscribes to a single ZMQ endpoint and blocks the thread until ControlFlow::Break
is
returned by the callback.