# LibTmux.Action.result/1

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/66b9b1c3f3f3186428abdfda2c76f5cf87446710/lib/libtmux/action.ex#L45
- **Page:** https://libtmux.org/en/elixir/latest/reference/libtmux-action-result-1/

```
@type result(value) ::
        %{
          outcome: :completed,
          certainty: LibTmux.Error.certainty(),
          evidence: atom(),
          transport: :one_shot | :control,
          value: value,
          details: map()
        }
        | %{
            outcome: :failed | :skipped | :unknown,
            certainty: LibTmux.Error.certainty(),
            evidence: atom(),
            transport: :one_shot | :control,
            value: nil,
            details: map()
          }
```

Canonical action outcome and original transport evidence.

A completed outcome carries the action's value; failed, skipped and unknown
outcomes carry `nil`. Match the outcome before using the value. Command
acknowledgement remains distinct from external program completion.

A completed split carries `t:LibTmux.Pane.split_value/0`. See
`LibTmux.Pane.split/3` for its identity and lifetime limits.

## Type parameters

- `value`
