Skip to main content

initialize

Function initialize 

Source
pub fn initialize()
Expand description

Initialize the shared executor and install its Melinoe partition bridge.

Call this during application startup when code may invoke melinoe::sync::partition_* directly. The function is idempotent: the scheduler is built once, and the process-global Melinoe slot is refreshed on each call. Higher-level Moirai partition helpers initialize the same bridge automatically when they enter the pool path.