# tmux_operation:completed/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_operation.erl#L42
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_operation-completed-0/

```
-type completed() ::
          #{stdout := binary(),
            stderr := binary(),
            exit_status := 0,
            stdin_delivered := non_neg_integer(),
            outcome := success,
            cleanup := complete}.
```

A successful command result. stdout and stderr are separate byte strings; exit_status is zero. stdin_delivered counts bytes accepted by the client pipe, not bytes consumed by tmux. success does not prove a background aftereffect.

## Guides

Pages that discuss `completed/0`.

- [Owned operations](/en/erlang/latest/guides/operations/)
