brunoV / throttler

Control the throughput of function calls and core.async channels
286 stars 27 forks source link

Add test for `false` values through throttled channels #4

Open brunoV opened 10 years ago

brunoV commented 10 years ago

Add a test case that asserts that false can be piped through a throttled channel. This is to avoid possible bugs where we check for truthiness instead of nil when deciding whether to close a channel.