otobus / event_bus

:surfer: Traceable, extendable and minimalist **event bus** implementation for Elixir with built-in **event store** and **event watcher** based on ETS.

Home Page:https://hexdocs.pm/event_bus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample Listener Implementation

jodyalbritton opened this issue · comments

Do you have a more complete example of a listener? At the top of the example is ...
Are you doing "use GenServer"?

Does your dialyzer report show that handle_cast has no return?

It would be helpful to have a full working implementation as an example. So far I have used EventBus.nofity(event) and then I was able to look up the event, but nothing in my handle_cast function is being done. I placed an IO.inspect handle_cast and nothing is output.

any ideas?

Thanks! I found what I was looking for.