class Faulty::Events::ListenerInterface

The interface required to implement a event listener

This is for documentation only and is not loaded

Public Instance Methods

handle(event, payload) click to toggle source

Handle an event raised by Faulty

@param event [Symbol] The event name. Will be a member of {EVENTS}. @param payload [Hash] A hash with keys based on the event type @return [void]

# File lib/faulty/events/listener_interface.rb, line 14
def handle(event, payload)
end