Skip to main content

SidecarJsBridgeCallback

Type Alias SidecarJsBridgeCallback 

Source
pub type SidecarJsBridgeCallback = Arc<dyn Fn(SidecarJsBridgeCall) -> BoxFuture<'static, Result<Option<Value>, String>> + Send + Sync>;
Expand description

Host-side handler for sidecar JsBridgeCallRequest payloads.

This is Rust-only and intentionally not JSON-serializable. Managed services use it to bind native sidecar storage to their durable database without teaching agentOS about the hosting framework.

Aliased Typeยง

pub struct SidecarJsBridgeCallback { /* private fields */ }