start_main_executor

Function start_main_executor 

Source
pub fn start_main_executor()
Expand description

Starts the main executor on a dedicated thread. This function is blocking and should be called once at the start of the program.

ยงPanics

Panics if the main executor has already been started.