Skip to main content

maelstrom_send_response

Function maelstrom_send_response 

Source
pub fn maelstrom_send_response(node_id: &str, client_id: &str, body: Value)
Available on crate feature deploy and (crate features maelstrom or maelstrom_runtime) only.
Expand description

Sends a response to a Maelstrom client via stdout.

This function is meant to be used with for_each on a stream of responses.