run() — fastify Function Reference
Architecture documentation for the run() function in logger.test.js from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD f734b87e_1132_f159_2f54_9c085bacd713["run()"] 20dad7da_f043_8e43_0148_ca488f3c8f5f["logger.test.js"] f734b87e_1132_f159_2f54_9c085bacd713 -->|defined in| 20dad7da_f043_8e43_0148_ca488f3c8f5f ad699bcf_9dd5_980b_ae3d_ac070bd1c0fa["add()"] ad699bcf_9dd5_980b_ae3d_ac070bd1c0fa -->|calls| f734b87e_1132_f159_2f54_9c085bacd713 style f734b87e_1132_f159_2f54_9c085bacd713 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
test/internals/logger.test.js lines 114–124
Queue.prototype.run = function run () {
this.running = true
const job = this.q.shift()
job(() => {
if (this.q.length) {
this.run()
} else {
this.running = false
}
})
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does run() do?
run() is a function in the fastify codebase, defined in test/internals/logger.test.js.
Where is run() defined?
run() is defined in test/internals/logger.test.js at line 114.
What calls run()?
run() is called by 1 function(s): add.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free