Entity / foldkit-entity/conformance
Outcome
const · packages/entity/src/conformance/operator.ts:38
const Outcome: Data.TaggedEnum.Constructor<
| { readonly _tag: 'Value'; readonly value: unknown }
| { readonly _tag: 'Refused'; readonly reason: string }
>Its type
type Outcome = Data.TaggedEnum<{
Value: {
readonly value: unknown
}
Refused: {
readonly reason: string
}
}>What an implementation said of one call: a value, or that it refused it.