Skip to main content

GraphPatchHostDispatch

Trait GraphPatchHostDispatch 

Source
pub trait GraphPatchHostDispatch: Send + Sync {
    // Required method
    fn on_patch_dispatch(&self, envelope: Value) -> Result<Value, String>;
}
Expand description

Optional host hook: receives the same JSON summary as GraphPatchAdapter::execute_patch.

Required Methods§

Source

fn on_patch_dispatch(&self, envelope: Value) -> Result<Value, String>

Implementors§