
Want this course?
Video time: 03m09s
Want this course?
Kill switch
Course: core.async Patterns
On the JVM, there is no way to stop a thread from the outside. The same is true of core.async go processes. The only way to stop it is from the inside. A common way to kill multiple threads/go processes is to make a channel signal that they should die.
Buy this course to view the code.