pub fn run_response_task<TYPES: NodeType>(
    task_state: NetworkResponseState<TYPES>,
    event_stream: Receiver<Arc<HotShotEvent<TYPES>>>
) -> JoinHandle<()>
Expand description

Spawn the network response task to handle incoming request for data from other nodes. It will shutdown when it gets HotshotEvent::Shutdown on the event_stream arg.