Callable

Type Alias Callable 

Source
pub type Callable = Arc<dyn Fn(Vec<Value>) -> Result<Value, ExecError> + Send + Sync>;
Expand description

A function a host can call, however the backend made it.

'static and Send + Sync because the runtime calls the fold from a sequencer task and the view from a connection task, and a backend that cannot survive that is not a backend for this runtime.

Aliased Typeยง

pub struct Callable { /* private fields */ }