MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / pushData

Function pushData

webiojs/src/session.ts:373–382  ·  view source on GitHub ↗
(data: any, callback_id: string)

Source from the content-addressed store, hash-verified

371
372// Send data to backend
373export function pushData(data: any, callback_id: string) {
374 if (state.CurrentSession === null)
375 return console.error("can't invoke PushData when WebIOController is not instantiated");
376
377 state.CurrentSession.send_message({
378 event: "callback",
379 task_id: callback_id,
380 data: data
381 });
382}

Callers 3

output.tsFile · 0.90
getWidgetElementFunction · 0.90
datatable.tsFile · 0.90

Calls 1

send_messageMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…