tempest-framework icon indicating copy to clipboard operation
tempest-framework copied to clipboard

Async emails

Open brendt opened this issue 5 months ago • 2 comments

I think it makes sense that email classes can be marked as #[Async], in which case they'll be handled by an async command.

brendt avatar Jul 17 '25 08:07 brendt

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?

innocenzi avatar Jul 17 '25 08:07 innocenzi

That's what I was thinking, yeah. If we're sending async mail, we wrap it in an async command, and dispatch it.

brendt avatar Jul 17 '25 08:07 brendt