Skip to main content

build_example_hub

Function build_example_hub 

Source
pub fn build_example_hub() -> Arc<DynamicHub>
Expand description

Build an example hub with minimal activations

This demonstrates how to construct a DynamicHub instance. Real applications should define their own builder function that registers their specific activations.

DynamicHub itself provides introspection methods:

  • {namespace}.call: Route calls to registered activations
  • {namespace}.hash: Get configuration hash for cache invalidation
  • {namespace}.schema: Get plugin schemas