GenEvent.handle_event

You're seeing just the callback handle_event, go back to GenEvent module for more information.
Link to this callback

handle_event(event, state)

View Source

Specs

handle_event(event :: term(), state :: term()) ::
  {:ok, new_state} | {:ok, new_state, :hibernate} | :remove_handler
when new_state: term()