pub fn maelstrom_init() -> MaelstromMetaAvailable on (crate features
deploy or sim) and (crate features maelstrom_runtime or maelstrom) 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.