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

Method sendGetPropsResponse

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

* Send a get_props response back to the server. * @param requestId The request ID from the get_props request * @param props The property values

(
        requestId: string,
        props: Record<string, unknown>
    )

Source from the content-addressed store, hash-verified

235 * @param props The property values
236 */
237 public sendGetPropsResponse(
238 requestId: string,
239 props: Record<string, unknown>
240 ): void {
241 if (!this.worker || !this.isConnected) {
242 return;
243 }
244
245 this.worker.port.postMessage({
246 type: WorkerMessageType.GET_PROPS_RESPONSE,
247 rendererId: this.rendererId,
248 requestId,
249 payload: props
250 });
251 }
252
253 /**
254 * Check if the worker is connected.

Callers 1

initializeWebSocketFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected