Function crossmist::init

source ยท
pub fn init()
Expand description

Initialize the crossmist runtime.

This function should always be called at the beginning of the program. It is automatically called by #[crossmist::main].

When crossmist spawns child processes, they start executing main. Calling init lets crossmist passes control to the function that the process is actually supposed to be executing.