Skip to main content

approval_task

Function approval_task 

Source
pub fn approval_task(
    request: &Request,
    grant: Option<&Grant>,
    log: &[Value],
) -> TaskSpec
Expand description

The waiting task for a call: the exact call, the question as the journal holds it, and the class an approval for the task or run would create. Only journaled facts go in — the approval is bound to this task’s digest, so replay must rebuild it byte for byte; the presentation (the file as it is, the sandbox) is built live by whoever asks.