Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ onClose
Function
onClose
test/WatchClose.test.js:54–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
52
function
close(watcher, callback) {
53
return
new
Promise((res) => {
54
const
onClose = () => {
55
callback();
56
res();
57
};
58
watcher.close(onClose);
59
});
60
}
Callers
nothing calls this directly
Calls
1
callback
Function · 0.70
Tested by
no test coverage detected