MCPcopy
hub / github.com/RocketChat/Rocket.Chat / get

Function get

apps/meteor/client/lib/presence.ts:120–123  ·  view source on GitHub ↗
(uid: UserPresence['_id'])

Source from the content-addressed store, hash-verified

118 };
119
120 const get = (uid: UserPresence['_id']): void => {
121 uids.add(uid);
122 fetch();
123 };
124 const stop = (uid: UserPresence['_id']): void => {
125 deletedUids.add(uid);
126 fetch();

Callers 2

createDocumentMapStoreFunction · 0.50
useFieldErrorFunction · 0.50

Calls 6

fetchFunction · 0.85
resolveFunction · 0.85
listenFunction · 0.85
addMethod · 0.65
hasMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected