class Ably::Realtime::Presence::MembersMap

A class encapsulating a map of the members of this presence channel, indexed by the unique {Ably::Models::PresenceMessage#member_key}

This map synchronises the membership of the presence set by handling SYNC messages from the service. Since sync messages can be out-of-order - e.g. a PRESENT sync event being received after that member has in fact left - this map keeps “witness” entries, with ABSENT Action, to remember the fact that a LEAVE event has been seen for a member. These entries are cleared once the last set of updates of a sync sequence have been received.

@api private