# rich::demo::Outcome

Kind: enum

ID: `rich::demo::Outcome#enum@main.goose`

```goose
enum demo::Outcome<T>
```

A result with optional payload, expressed as a Goose enum.

[Source](../src/911b701d688b1119f9e7fa89.html#L21) · line 21

[Structured record](../items/ebef19c12abbca6ac3ded36e.json)

Members:

- [demo::Outcome.Empty](../items/7ccbb614aff8232497879d39.md) — `demo::Outcome.Empty`
- [demo::Outcome.Value](../items/01118ce064e97936e9bff7d0.md) — `demo::Outcome.Value { data: T, token: helpers::Token }`
