I have a case where I use a GenServer to block other operations from happening in order to respect ratelimits of a third party. Right now, I spawn a Task that uses GenServer.reply after a sleep, then return :no_reply. Imo, it would be more ergonomic to have an equivalent to Process.send_after for GenServer.reply.
Example: https://gist.github.com/khionu/7da26e1c53108ee4b462ef570f19b61b
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/e4a0ef65-7075-4ffc-b5db-b5acd86365c7n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/db90f889-2e33-4d38-9069-7ed564cbba6dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/4082a37d-a38b-4541-9926-ef36678d526cn%40googlegroups.com.