MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / addBeforeProcessHook

Method addBeforeProcessHook

www/js/_hyperscript.js:2876–2878  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

2874 #beforeProcessHooks = [];
2875 #afterProcessHooks = [];
2876 addBeforeProcessHook(fn) {
2877 this.#beforeProcessHooks.push(fn);
2878 }
2879 addAfterProcessHook(fn) {
2880 this.#afterProcessHooks.push(fn);
2881 }

Callers 2

initLiveTemplatesFunction · 0.45
_hyperscript.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected