(handler: (value: input) => output)
| 108 | } |
| 109 | |
| 110 | otherwise(handler: (value: input) => output): output { |
| 111 | if (this.state.matched) return this.state.value; |
| 112 | return handler(this.input); |
| 113 | } |
| 114 | |
| 115 | exhaustive(unexpectedValueHandler = defaultCatcher): output { |
| 116 | if (this.state.matched) return this.state.value; |
no outgoing calls