Skip to main content

CustomScalarFn

Type Alias CustomScalarFn 

Source
pub type CustomScalarFn = Arc<dyn Fn(&[Value]) -> Result<Value, UniError> + Sync + Send>;
Expand description

Type alias for a custom scalar function.

The function receives evaluated arguments and returns a single value.

Aliased Typeยง

pub struct CustomScalarFn { /* private fields */ }