pub fn maelstrom_init() -> MaelstromMetaAvailable on crate feature
deploy and (crate features maelstrom or maelstrom_runtime) only.Expand description
Initialize a Maelstrom node by reading the init message from stdin. Returns the node metadata and sends init_ok response. Also spawns a background thread to read stdin and broadcast lines to subscribers.