Skip to main content

Module factories

Module factories 

Source
Expand description

Host-side registry view and extern resolvers.

PolydatRuntime unions the link-time registry with host factories for listing, and carries module search paths; node construction goes through factory::build_node and the inventory, not through this type. The extern-resolver registry is what the kernel consults at runtime.

Structs§

PolydatRuntime
A host-side registry view.

Enums§

FactoryArg
Constant argument passed to a node factory at build time.

Traits§

NodeFactory
Trait for external node providers.

Functions§

clear_extern_resolvers
Clear every registered resolver. Primarily for tests that want clean teardown.
register_extern_resolver
Register a virtual-wire resolver. Resolvers stay registered for the process’s lifetime unless clear_extern_resolvers is called.

Type Aliases§

ExternResolver
Host-mediated extern resolver per expression_engine.md §5.6 (virtual wires). A resolver is a callback that fires at Context Fusion scope-init time when a kernel’s extern slot can’t be satisfied from the outer scope’s direct bindings.