DEV Community

Discussion on: I promise you'll know promises after this

awwsmm profile image
Andrew (he/him)

Nice intro! Are there any mechanisms in JavaScript to prevent deadlocks? For example, if Promise A depends on the result of Promise B, but Promise B also depends on Promise A. Have you encountered this before?