sleep() — react Function Reference
Architecture documentation for the sleep() function in publish-using-ci-workflow.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 4ed76040_992b_9e9e_bb8b_ff567ba35102["sleep()"] 37d61257_7834_7ff9_7756_2c4472479997["publish-using-ci-workflow.js"] 4ed76040_992b_9e9e_bb8b_ff567ba35102 -->|defined in| 37d61257_7834_7ff9_7756_2c4472479997 7c5d17c6_9bfc_99f7_f961_0798168fa07a["getPublishWorkflowID()"] 7c5d17c6_9bfc_99f7_f961_0798168fa07a -->|calls| 4ed76040_992b_9e9e_bb8b_ff567ba35102 8882da9a_b55e_e92b_03a4_ab9b56e99e14["pollUntilWorkflowFinishes()"] 8882da9a_b55e_e92b_03a4_ab9b56e99e14 -->|calls| 4ed76040_992b_9e9e_bb8b_ff567ba35102 style 4ed76040_992b_9e9e_bb8b_ff567ba35102 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/release/publish-using-ci-workflow.js lines 20–24
function sleep(ms) {
return new Promise(resolve => {
setTimeout(() => resolve(), ms);
});
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does sleep() do?
sleep() is a function in the react codebase, defined in scripts/release/publish-using-ci-workflow.js.
Where is sleep() defined?
sleep() is defined in scripts/release/publish-using-ci-workflow.js at line 20.
What calls sleep()?
sleep() is called by 2 function(s): getPublishWorkflowID, pollUntilWorkflowFinishes.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free