Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/thinkjs/thinkjs
/ loadMiddleware
Method
loadMiddleware
lib/loader.js:54–59 ·
view source on GitHub ↗
* load middleware
()
Source
from the content-addressed store, hash-verified
52
* load middleware
53
*/
54
loadMiddleware() {
55
const
middlewares = think.loader.loadMiddleware(think.app);
56
middlewares.forEach(middleware => {
57
think.app.use(middleware);
58
});
59
}
60
/**
61
* load extend
62
*/
Callers
2
loadAll
Method · 0.80
loader.js
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected