( self: Schedule.Schedule<Out, In, R> )
| 1149 | |
| 1150 | /** @internal */ |
| 1151 | export const passthrough = <Out, In, R>( |
| 1152 | self: Schedule.Schedule<Out, In, R> |
| 1153 | ): Schedule.Schedule<In, In, R> => |
| 1154 | makeWithState(self.initial, (now, input, state) => |
| 1155 | pipe( |
| 1156 | self.step(now, input, state), |
| 1157 | core.map(([state, _, decision]) => [state, input, decision] as const) |
| 1158 | )) |
| 1159 | |
| 1160 | /** @internal */ |
| 1161 | export const provideContext = dual< |
no test coverage detected