Function rorm::rorm_runtime_start

source ·
#[no_mangle]
pub extern "C" fn rorm_runtime_start(
    callback: Option<unsafe extern "C" fn(_: usize, _: Error<'_>)>,
    context: usize
)
Expand description

This function is used to initialize and start the async runtime.

It is needed as rorm is completely written asynchronously.

Important: Do not forget to stop the runtime using rorm_runtime_shutdown!

This function is called completely synchronously.