Skip to main content

InlineScriptFn

Type Alias InlineScriptFn 

Source
pub type InlineScriptFn = Arc<dyn Fn(Option<Value>) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send>> + Send + Sync>;
Expand description

An inline script’s body: called with the model’s args.

Aliased Type§

pub struct InlineScriptFn { /* private fields */ }