Skip to main content

handle_request

Function handle_request 

Source
pub fn handle_request(
    registry: Arc<JobRegistry>,
    request: RpcRequest,
    sender: UnboundedSender<RpcResponse>,
)
Expand description

Answers a job control request, without waiting for the session’s other requests.

§Arguments

  • registry - Jobs of the session.
  • request - A job control request. See is_job_control_method.
  • sender - Where to send the response.