Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/webpack/tapable
/ intercept
Method
intercept
lib/HookMap.js:41–50 ·
view source on GitHub ↗
(interceptor)
Source
from the content-addressed store, hash-verified
39
}
40
41
intercept(interceptor) {
42
this._interceptors.push(
43
Object.assign(
44
{
45
factory: defaultFactory
46
},
47
interceptor
48
)
49
);
50
}
51
}
52
53
HookMap.prototype.tap = util.deprecate(
function
tap(key, options, fn) {
Callers
1
register
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected