Skip to main content

Decide

Type Alias Decide 

Source
pub type Decide = Arc<dyn Fn(&str, &Value, &str, &Signal) -> Result<Value, String> + Send + Sync>;
Expand description

judge.decide(state, questions, kind) as the session asks it: the verdict’s JSON.

Aliased Type§

pub struct Decide { /* private fields */ }