MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / push

Function push

src/lib/actionStack.js:54–56  ·  view source on GitHub ↗

* Push action to stack * @param {object} fun * @param {string} fun.id * @param {Function} fun.action

(fun)

Source from the content-addressed store, hash-verified

52 * @param {Function} fun.action
53 */
54 push(fun) {
55 stack.push(fun);
56 },
57 /**
58 * Pop action from stack
59 * @param {number} repeat pop action multiple times

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected