class

Phoenix::Presence

Inherits Reference < Object

Constructors

new(channel : Channel)
Source

Class methods

sync_diff(state : JSON::Any, diff : JSON::Any, on_join : Proc(String, JSON::Any | Nil, JSON::Any, Nil), on_leave : Proc(String, JSON::Any, JSON::Any, Nil)) : JSON::Any
Source
sync_state(current_state : JSON::Any, new_state : JSON::Any, on_join : Proc(String, JSON::Any | Nil, JSON::Any, Nil), on_leave : Proc(String, JSON::Any, JSON::Any, Nil)) : JSON::Any
Source

Instance methods

list
Source
list
Source
on_join
Source
on_leave
Source
on_sync
Source

Nested types