<span id="ev/chan" class="binding-sym">ev/chan</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/b60ef68/src/core/ev.c#L1075">source</a></span> <pre class="binding-text">(ev/chan &amp;opt capacity)

Create a new channel. capacity is the number of values to queue before blocking writers, defaults to 0 if not provided. Returns a new channel.</pre><a href="https://janetdocs.org/ev/chan">Community Examples</a></div><hr><div class="bin