MCPcopy Index your code
hub / github.com/plotly/dash / notifyTabVisible

Method notifyTabVisible

dash/dash-renderer/src/utils/workerClient.ts:264–271  ·  view source on GitHub ↗

* Notify the worker that the tab is now visible. * This resets the inactivity timer to prevent timeout while user is viewing.

()

Source from the content-addressed store, hash-verified

262 * This resets the inactivity timer to prevent timeout while user is viewing.
263 */
264 public notifyTabVisible(): void {
265 if (this.worker && this.isConnected) {
266 this.worker.port.postMessage({
267 type: WorkerMessageType.TAB_VISIBLE,
268 rendererId: this.rendererId
269 });
270 }
271 }
272
273 private handleMessage(event: MessageEvent): void {
274 const message = event.data;

Callers 1

initializeWebSocketFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected