pub type RemoteFunctionHandler = Arc<dyn Fn(Value) -> BoxFuture<'static, Result<Value, Error>> + Send + Sync>;Expand description
A dispatchable function handler. Receives the invocation payload.
Handlers that also want the optional per-invocation metadata sidecar use
RemoteFunctionHandlerWithMetadata; this single-argument shape is kept
for backward compatibility.
Aliased Typeยง
pub struct RemoteFunctionHandler { /* private fields */ }