Soulless.Handler behaviour (Soulless v0.3.0)

Copy Markdown View Source

Summary

Callbacks

handle_notice(client, notice)

@callback handle_notice(client :: pid(), notice :: struct()) :: any()

handle_ready(client, state)

@callback handle_ready(client :: pid(), state :: :connected | :authenticated) :: any()