Skip to main content

HostFn

Type Alias HostFn 

Source
pub type HostFn = Box<dyn Fn(Vec<Value>) -> Result<Value> + Send + Sync + 'static>;
Expand description

A boxed host function callable from dialogue expressions.

Aliased Typeยง

pub struct HostFn(/* private fields */);