pub fn new_root_realm(resolver_registry: ResolverRegistry, component_url: String) -> Self {
        Self {
            resolver_registry: Arc::new(resolver_registry),
            abs_moniker: AbsoluteMoniker::root(),
            component_url,
            // Started by main().
            startup: fsys::StartupMode::Lazy,
            state: Mutex::new(None),
            execution: Mutex::new(ExecutionState::new()),
            actions: Mutex::new(ActionSet::new()),
            hooks: Hooks::new(None),
        }
    }
/// Instantiates a new root realm.
Instantiates a new root realm.
Instantiates a new root realm .
pub fn new_root_realm(resolver_registry: ResolverRegistry, component_url: String) -> Self {
        Self {
            resolver_registry: Arc::new(resolver_registry),
            abs_moniker: AbsoluteMoniker::root(),
            component_url,
            // Started by main().
            startup: fsys::StartupMode::Lazy,
            state: Mutex::new(None),
            execution: Mutex::new(ExecutionState::new()),
            actions: Mutex::new(ActionSet::new()),
            hooks: Hooks::new(None),
        }
    }
pub fn new_root_realm ( resolver_registry : ResolverRegistry , component_url : String ) -> Self { Self { resolver_registry : Arc :: new ( resolver_registry ) , abs_moniker : AbsoluteMoniker :: root ( ) , component_url , // Started by main(). startup : fsys :: StartupMode :: Lazy , state : Mutex :: new ( None ) , execution : Mutex :: new ( ExecutionState :: new ( ) ) , actions : Mutex :: new ( ActionSet :: new ( ) ) , hooks : Hooks :: new ( None ) , } }
Instantiates a new root realm.
Instantiates a new root realm .
resolver_registry
ResolverRegistry
component_url
String