Skip to main content

spawn

Function spawn 

Source
pub fn spawn(rx: Receiver<TaskEvent>, transport: Arc<Transport>)
Expand description

Spawn a task that listens for events and pushes to transport.

This subscriber is spawned ONCE (not per-project) since the transport handles all repos. It filters events using NotificationLevel::should_notify() so only meaningful status transitions reach the channels.