Private Optional actorIDPrivate countPrivate eventPrivate eventPrivate keyPrivate Optional presenceIDPrivate seqPrivate statusapplyStatus applies the presence status into this presence counter.
getStatus returns the status of this presence counter.
publish publishes an event to all registered handlers.
subscribe registers an observer for presence events.
Returns an unsubscribe function.
Presencerepresents a lightweight presence counter for tracking online users. It provides real-time count updates through the watch stream. It implements Attachable interface to be managed by Attachment.