Skip to main content

enqueue_session_draft

Function enqueue_session_draft 

Source
pub fn enqueue_session_draft(
    store: &CloudStore,
    config: &CloudConfig,
    root: &Path,
    session_id: &str,
    trigger: Trigger,
    screen: &mut Screen,
    now: UtcDateTime,
) -> Result<Option<String>, CloudError>
Expand description

Plan, screen and queue the learnings of the project at root made since its last draft. Returns the outbox id, or None when there is nothing to propose (or Cloud is not set up for this machine).