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

Function safe_run

webiojs/src/models/datatable.ts:170–177  ·  view source on GitHub ↗
(func_name: string, func: any, ...args: any[])

Source from the content-addressed store, hash-verified

168}
169
170function safe_run(func_name: string, func: any, ...args: any[]) {
171 try {
172 if (typeof func === 'function')
173 func.bind(this)(...args);
174 } catch (e) {
175 console.error("Error on %s function:\n", func_name, e);
176 }
177}
178
179const gridDefaultOptions = {
180 //https://www.ag-grid.com/javascript-data-grid/row-selection/

Callers 1

datatable.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…