MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / after

Method after

scripts/libs/js-hook/index.js:500–502  ·  view source on GitHub ↗
(obj, hookMethods, fn, classHook, context, proxyHandler)

Source from the content-addressed store, hash-verified

498
499 /*Hook after the source function is run */
500 after (obj, hookMethods, fn, classHook, context, proxyHandler) {
501 return this.hook(obj, hookMethods, fn, 'after', classHook, context, proxyHandler)
502 }
503
504 /* Replace the function to be hooked, no longer run the source function,
505 and replace it with running other logic */

Callers

nothing calls this directly

Calls 1

hookMethod · 0.95

Tested by

no test coverage detected