( self: Schedule.Schedule<Out, In, R> )
| 1157 | |
| 1158 | /** @internal */ |
| 1159 | export const passthrough = <Out, In, R>( |
| 1160 | self: Schedule.Schedule<Out, In, R> |
| 1161 | ): Schedule.Schedule<In, In, R> => |
| 1162 | makeWithState(self.initial, (now, input, state) => |
| 1163 | pipe( |
| 1164 | self.step(now, input, state), |
| 1165 | core.map(([state, _, decision]) => [state, input, decision] as const) |
| 1166 | )) |
| 1167 | |
| 1168 | /** @internal */ |
| 1169 | export const provideContext = dual< |
no test coverage detected