MCPcopy
hub / github.com/apache/echarts / saveRunningContext

Function saveRunningContext

test/runTest/runtime/main.js:70–76  ·  view source on GitHub ↗
(actions, actionIndex, playback)

Source from the content-addressed store, hash-verified

68}
69
70function saveRunningContext(actions, actionIndex, playback) {
71 localStorage.setItem('vstRunContext', JSON.stringify({
72 actions: actions,
73 currentActionIndex: actionIndex,
74 currentActionContext: playback.getContext()
75 }));
76}
77
78window.__VRT_RUN_ACTIONS__ = async function (actions, restoredActionIndex, restoredActionContext) {
79 // Actions can only bu runned once.

Callers 1

main.jsFile · 0.85

Calls 1

getContextMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…