()
| 136 | |
| 137 | export const combinedInputProcessor = <T>(inputProcessor: InputProcessor<T>, ...moveInputProcessors: InputProcessor<T>[]): InputProcessor<T> => { |
| 138 | const inputProcessors: InputProcessor<T>[] = [inputProcessor, ...moveInputProcessors] |
| 139 | let selectedInputProcessor: InputProcessor<T> | undefined |
| 140 | let _ioFormat: IOFormat | undefined = undefined |
| 141 | |
| 142 | const hasInput = async (): Promise<boolean> => { |
| 143 | for (const inputProcessor of inputProcessors) { |
| 144 | const hasInputResult = inputProcessor.hasInput() |
| 145 | const hasInput = typeof hasInputResult === 'boolean' ? hasInputResult : await hasInputResult |
| 146 | if (hasInput) { |
nothing calls this directly
no outgoing calls
no test coverage detected