It would be great if we could expose a function that allowed us to say something like this:
defmodule MyGen do use GenServer @impl true def init(data) do {:ok, data} end end {:ok, pid} = MyGen.start_link(MyGen, :hi) assert_receive(pid, :hello) I recently learned you can do something like this: :erlang.trace(pid, true, [:receive]) So I wondered if that or :erlang.trace_delivered may be helpful here. Best Adam -- 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-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/78369631-17b0-46d6-b5b2-9f9c2bbc7766%40googlegroups.com.