Skip to main content

initialize_runtime

Function initialize_runtime 

Source
pub fn initialize_runtime() -> Result<TimerEpoch, TimerError>
Expand description

Initialize the volatile canister-local runtime once for this Wasm instance.

Repeated calls are idempotent and return the original epoch. This function exports no lifecycle hook; the canister’s existing lifecycle owner calls it.