Seeking a Cleaner Way to Write an Async Filter with Effect.promise
Hello guys, I needed an
However, I'm not sure about this:
It just doesn't feel right to me, I'd like to know if there's a way to write it more cleanly.
Note: I haven't tried if it works but there's no syntax error.
async filter and I ended up with something like this:However, I'm not sure about this:
It just doesn't feel right to me, I'd like to know if there's a way to write it more cleanly.
Note: I haven't tried if it works but there's no syntax error.
