MCPcopy Create free account
hub / github.com/CodeForBreakfast/eventsourcing / formatAndLogTodo

Function formatAndLogTodo

examples/todo-app/src/cli.ts:169–170  ·  view source on GitHub ↗
(todoId: TodoId)

Source from the content-addressed store, hash-verified

167 );
168
169const formatAndLogTodo = (todoId: TodoId) => (todo: Readonly<TodoState>) =>
170 pipe(logTodo(todoId, todo), Effect.as(Option.some(todo)));
171
172const filterDeleted = (t: TodoState) => !t.deleted;
173

Callers 1

processProjectionDataFunction · 0.85

Calls 1

logTodoFunction · 0.85

Tested by

no test coverage detected