aion-server 0.29.0

Aion workflow server library: HTTP, gRPC, WebSocket, and worker endpoints. Run it with the `aion` binary from the aion-cli crate.
Documentation
//! Project sibling steps inside an on-failure compensation list.
workflow failure_scoped_substeps
  input task: String
  outcome done: type Result, route success
  outcome failed: type Result, route failure

type Result { value: String }

worker jobs
  action attempt(task: String) -> Result

step guarded
  attempt(task: task) -> result

  on failure
    step choose_recovery
      outcome next: else, route classify_failure

    step classify_failure
      outcome terminal: else, route failure_terminal

    route failed(value: "compensation complete")

  outcome failure_terminal: if false,
    route failed(value: "classified failure")
  outcome complete: else,
    route done(value: result.value)