© 2026 Hedgehog Software, LLC
const notifyOwner = (todo: Todo) => Effect.flatMap( getUserById(todo.ownerId), (user) => sendEmailToUser(user.id, `hey ${user.name} you got a todo!`) )
getUserById