Header menu logo Nao

ExecutionJournal Module

Orchestrates reverting tool executions in reverse order

Functions and values

Function or value Description

revertAllAsync journal tools

Full Usage: revertAllAsync journal tools

Parameters:
Returns: Task<(string * Result<unit, string>) list>

Revert all revertible executions in reverse chronological order. Returns list of (toolName, result) for each attempted revert.

journal : IExecutionJournal
tools : Tool list
Returns: Task<(string * Result<unit, string>) list>

revertLastAsync journal tools

Full Usage: revertLastAsync journal tools

Parameters:
Returns: Task<Result<unit, string>>

Revert the most recent execution only

journal : IExecutionJournal
tools : Tool list
Returns: Task<Result<unit, string>>

Type something to start searching.