Expand description
graph-native: Runtime types for native subgraph handler execution.
This crate provides the types that generated Rust handler code depends on. It mirrors the graph-ts host function interface but as direct Rust calls, eliminating the WASM serialization boundary.
§Plugin interface
A native subgraph plugin is a compiled .so that implements NativeHandlers.
Graph-node loads the plugin, calls supported_handlers() to discover which
handlers have native implementations, and routes matching triggers to
handle_trigger() instead of the WASM path.
Handlers not in the supported list fall back to WASM execution.
Modules§
Macros§
Traits§
- Native
Handlers - The trait that a native subgraph plugin must implement.