Creates a type-safe relay function for an option.
Handler and fallback results are returned as-is, neither cloned nor frozen: their mutability is up to the code that produces them.
The options type defining all possible option variants
An option variant
An immutable Relay function that accepts handlers for each option and an optional fallback
Creates a type-safe relay function for an option.
Handler and fallback results are returned as-is, neither cloned nor frozen: their mutability is up to the code that produces them.