Eric Normand Courses/A04 core.async Patterns

Build powerful code with core.async

10 patterns you can build that exercise the power of Clojure's core.async.

Use advanced patterns in core.async

core.async is very powerful, but sometimes it can be hard to know exactly how to use it. Knowing the individual pieces is not enough. You've got to master the pieces, but then you've got to be thinking in terms of broader patterns. This course presents some powerful patterns, and hopefully points the way to using core.async in a more holistic way. I really like how little code it takes to build powerful concurrency patterns in core.async.

In fact, core.async has changed my code tremendously. It is great for mastering:
  • complex timing, like timeouts, rate limiting, and starting multiple things at the same time
  • preventing too much work from overloading your server
  • and dealing with values that change over time

  • $18

A04 core.async Patterns

Contents

Take with Timeout
  • 7 mins
  • 34.6 MB
Put with Timeout
  • 2 mins
  • 9.03 MB
go-throw
  • 7 mins
  • 52.6 MB
Thread pool
  • 5 mins
  • 19.7 MB
Backpressure
  • 8 mins
  • 38.4 MB
Kill switch
  • 4 mins
  • 13.3 MB
Poison pill
  • 4 mins
  • 15.4 MB
Start latch
  • 3 mins
  • 9.64 MB
Token bucket
  • 7 mins
  • 24.7 MB
Refining values over time
  • 8 mins
  • 37.1 MB

  • $18

A04 core.async Patterns