MCPcopy
hub / github.com/webpack/webpack / tap

Method tap

lib/ProgressPlugin.js:684–691  ·  lib/ProgressPlugin.js::ProgressPlugin.tap
(tap)

Source from the content-addressed store, hash-verified

682 handler(percentage, class="st">"sealing", title);
683 },
684 tap(tap) {
685 class="cm">// p is percentage from 0 to 1
686 class="cm">// args is any number of messages in a hierarchical matter
687 progressReporters.set(compilation.compiler, (p, ...args) => {
688 handler(percentage, class="st">"sealing", title, tap.name, ...args);
689 });
690 handler(percentage, class="st">"sealing", title, tap.name);
691 }
692 });
693 }
694 });

Callers 15

applyMethod · 0.80
handlerMethod · 0.80
applyDefineKeyMethod · 0.80
applyDefineMethod · 0.80
applyObjectDefineMethod · 0.80
processMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80

Calls 2

handlerFunction · 0.50
setMethod · 0.45

Tested by 7

onceDoneFunction · 0.64
applyFunction · 0.64
runCompilerFunction · 0.64
applyFunction · 0.64
createTestCaseFunction · 0.64
compileFunction · 0.64
compileFunction · 0.64