(todos: Readonly<ReadonlyArray<{ readonly todoId: TodoId }>>)
| 192 | Effect.forEach(todos, (item) => loadAndFormatTodo(item.todoId)); |
| 193 | |
| 194 | const formatTodoList = (todos: Readonly<ReadonlyArray<{ readonly todoId: TodoId }>>) => |
| 195 | pipe( |
| 196 | Effect.void, |
| 197 | Effect.andThen(Console.log('\n📝 Your TODOs:\n')), |
| 198 | Effect.andThen(forEachTodoItem(todos)), |
| 199 | Effect.andThen(Console.log('')) |
| 200 | ); |
| 201 | |
| 202 | const processListProjection = (projection: Readonly<Projection<TodoListProjection>>) => { |
| 203 | const list = pipe( |
no test coverage detected