I'm quite new to Elixir.
I have a module using GenServer. The calling code calls a method that gets some data, and I want to have it wait for a period before responding, with the calling code blocking until it responds.
I've seen comments that Process.sleep() inside a genserver call is bad. I think because it blocks the genserver from responding to further calls?
Could someone help explain the alternatives?
Thanks a lot,