cfunction (ev/capacity channel) Get the number of items a channel will store before blocking writers.