Skip to main content

eval_eager_bytecode_bundle_with_registries

Function eval_eager_bytecode_bundle_with_registries 

Source
pub fn eval_eager_bytecode_bundle_with_registries(
    namespaces: &NamespaceRegistry<Value>,
    protocols: &ProtocolRegistry,
    bytes: &[u8],
) -> Result<(), String>
Expand description

Transactionally load a fully eager HBX0 application bundle into an embedding host’s existing namespace and protocol registries.

The ordinary eval_bytecode_bundle API additionally indexes lazy standard-library resources on a Runtime. Worker hosts such as Hoplite already own their registries and package every application module eagerly, so this narrower entry point preserves that ownership without falling back to source compilation.