Skip to main content

Answering

Type Alias Answering 

Source
pub type Answering = Arc<dyn Fn(Query) -> (Seq, Result<Answer, AxError>) + Send + Sync>;
Expand description

Answers a query from the city’s derived views, with the ledger position the answer was read at. Synchronous: a query reads a projection, and a projection that needed to block would be a query pretending to be a command.

Aliased Type§

pub struct Answering { /* private fields */ }