We currently have a custom broadcast notifier. We can replace it by tokio::sync::broadcast channels for our notifications (and replace our callback message handler in linera_core::client with a tokio_stream::Sink that is passed to the functions that generate notifications rather than a &mut Vec<Notification>, a much less error-prone approach).
We currently have a custom broadcast notifier. We can replace it by
tokio::sync::broadcast
channels for our notifications (and replace our callback message handler inlinera_core::client
with atokio_stream::Sink
that is passed to the functions that generate notifications rather than a&mut Vec<Notification>
, a much less error-prone approach).