MCPcopy Create free account
hub / github.com/CommE2E/comm / fetchPendingUpdates

Method fetchPendingUpdates

lib/socket/socket.react.js:737–746  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

735 };
736
737 async fetchPendingUpdates(): Promise<ClientStateSyncSocketResult> {
738 const sessionState = this.props.sessionStateFunc();
739 const result = await this.props.fetchPendingUpdates({
740 ...sessionState,
741 keyserverID: this.props.keyserverID,
742 });
743 const { sessionID, ...actionPayload } = result;
744 this.setNewReceivedSession(sessionID);
745 return actionPayload;
746 }
747
748 stopPing() {
749 if (this.pingTimeoutID) {

Callers 1

SocketClass · 0.95

Calls 1

setNewReceivedSessionMethod · 0.95

Tested by

no test coverage detected