MCPcopy Create free account
hub / github.com/effector/effector / execFunc

Function execFunc

src/fixtures/dom.js:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23 const domSnapshots = []
24 const execFunc = async cb => {
25 const oldDocument = installDocument()
26 try {
27 return await cb()
28 } finally {
29 restoreDocument(oldDocument)
30 }
31 }
32 const exec = async cb => {
33 const oldDocument = installDocument()
34 try {

Callers 5

execMethod · 0.85
browser.test.tsFile · 0.85
list.test.tsFile · 0.85
handler.test.tsFile · 0.85

Calls 2

installDocumentFunction · 0.85
restoreDocumentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…