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
phoenixThe
Phoenixobject that triggered the event.messageThe received message.
View on GitHub
PhoenixListener Protocol Reference