Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/skatejs/skatejs
/ afterMutations
Function
afterMutations
packages/skatejs/test/lib/after-mutations.js:1–11 ·
view source on GitHub ↗
(...fns)
Source
from the content-addressed store, hash-verified
1
export
default
function
afterMutations(...fns) {
2
setTimeout(
function
() {
3
const
fn = fns.shift();
4
if
(typeof fn ===
'function'
) {
5
fn();
6
}
7
if
(fns.length) {
8
afterMutations.apply(null, fns);
9
}
10
}, 1);
11
}
Callers
4
testTypeValues
Function · 0.85
with-update.spec.js
File · 0.85
props.spec.js
File · 0.85
properties.spec.js
File · 0.85
Calls
no outgoing calls
Tested by
1
testTypeValues
Function · 0.68