• Skip to main content
  • Skip to footer

PurelyFunctional.tv

  • Learn Clojure
  • About
  • 🛒 Cart
  • Log in
Poison pill

Want this course?

$200.00 – Team License Checkout Added to cart
$24.00 – Download License Checkout Added to cart
$18.00 – Online License Checkout Added to cart
Membership
Download
 Video time: 03m31s
PREVIOUS
NEXT

Want this course?

$200.00 – Team License Checkout Added to cart
$24.00 – Download License Checkout Added to cart
$18.00 – Online License Checkout Added to cart
Membership

Poison pill

Course: core.async Patterns

Updated October 25, 2019

Description
Code

If you need finer control over which workers die, you could implement the poison pill pattern. In this one, a special value is considered to be a signal to die.

Buy this course to view the code.

Next Lesson

2 min

Start latch

When you need many go blocks to start work at very close to the same time, you can use a start latch. This pattern preps go blocks and signals them to start with the same channel.

Course: core.async Patterns

0 / 10
0 / 10
 
Lessons
 
Take with Timeout
 
6 min 
 
Put with Timeout
 
1 min 
 
go-throw
 
7 min 
 
Thread pool
 
5 min 
 
Backpressure
 
8 min 
 
Kill switch
 
3 min 
 
Poison pill
 
4 min 
 
Start latch
 
2 min 
 
Token bucket
 
6 min 
 
Refining values over time
 
8 min 

Footer CTA

Get the newsletter for free

The PurelyFunctional.tv Newsletter is a weekly email to inspire functional programmers.

Enter your email address to receive emails about Clojure and Functional Programming. These include the weekly newsletter and other great offers. You can unsubscribe any time.

Copyright © 2021 LispCast and Eric Normand