pub fn spawn_listener<T, F, S, I, E>(
_handle: GenServerHandle<T>,
_message_builder: F,
_stream: S,
)Expand description
Spawns a listener that listens to a stream and sends messages to a GenServer.
Items sent through the stream are required to be wrapped in a Result type.