# `ACPex.Schema.Client.Terminal.WaitForExitResponse`
[🔗](https://github.com/lostbean/acpex/blob/v0.1.1/lib/acpex/schema/client/terminal/wait_for_exit_response.ex#L1)

Response containing terminal exit information.

Sent by the client in response to a WaitForTerminalExitRequest, containing
the terminal's exit code and/or signal.

## Optional Fields

  * `exit_code` - The exit code (integer, 0 or greater)
  * `signal` - The signal that terminated the process (string)
  * `meta` - Additional metadata (map)

Note: At least one of `exit_code` or `signal` should be present.

## Example

    %ACPex.Schema.Client.Terminal.WaitForExitResponse{
      exit_code: 0,
      signal: nil
    }

## JSON Representation

    {
      "exitCode": 0
    }

# `t`

```elixir
@type t() :: %ACPex.Schema.Client.Terminal.WaitForExitResponse{
  exit_code: integer() | nil,
  meta: map() | nil,
  signal: String.t() | nil
}
```

# `changeset`

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Creates a changeset for validation.

## Optional Fields

  * `exit_code` - If present, must be >= 0
  * `signal` - Optional signal string

---

*Consult [api-reference.md](api-reference.md) for complete listing*
