MCPcopy
hub / github.com/slackapi/node-slack-sdk / clearPreviousPingTimer

Method clearPreviousPingTimer

packages/rtm-api/src/KeepAlive.ts:137–142  ·  view source on GitHub ↗

* Clears the ping timer if its set, otherwise this is a noop.

()

Source from the content-addressed store, hash-verified

135 * Clears the ping timer if its set, otherwise this is a noop.
136 */
137 private clearPreviousPingTimer(): void {
138 if (this.pingTimer !== undefined) {
139 clearTimeout(this.pingTimer);
140 delete this.pingTimer;
141 }
142 }
143
144 /**
145 * Sets the ping timer (including clearing any previous one).

Callers 2

stopMethod · 0.95
setPingTimerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected