PhoenixListener
public protocol PhoenixListener : AnyObject
The PhoenixListener
protocol describes methods of the Phoenix
‘s listeners.
-
Called when a message is received.
Declaration
Swift
func phoenix(_ phoenix: Phoenix, didReceive message: PhoenixMessage)
Parameters
phoenix
The
Phoenix
object that triggered the event.message
The received message.