Skip to content

Commit edda74f

Browse files
committed
fix: update flowchart for 2621. sleep
1 parent b61601a commit edda74f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: 2621. sleep/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
```mermaid
2+
flowchart TD
3+
A(Start) --> B[Create Promise]
4+
B --> C[Set timeout]
5+
C --> D[Wait for milliseconds]
6+
D --> E[Resolve Promise]
7+
E --> F(End)
8+
9+
style A fill:#52bc94, stroke:#ffffff, stroke-width:1px, color:#ffffff
10+
style B fill:#101841, stroke:#ffffff, stroke-width:1px, color:#ffffff
11+
style C fill:#101841, stroke:#ffffff, stroke-width:1px, color:#ffffff
12+
style D fill:#101841, stroke:#ffffff, stroke-width:1px, color:#ffffff
13+
style E fill:#101841, stroke:#ffffff, stroke-width:1px, color:#ffffff
14+
style F fill:#d14243, stroke:#ffffff, stroke-width:1px, color:#ffffff

0 commit comments

Comments
 (0)