tempest-framework
tempest-framework copied to clipboard
Async emails
I think it makes sense that email classes can be marked as #[Async], in which case they'll be handled by an async command.
I think this is a good one to discuss. Would this imply to dispatch a built-in "send email" command asynchronously, with a built-in command handler? Or are you thinking another way?
That's what I was thinking, yeah. If we're sending async mail, we wrap it in an async command, and dispatch it.