Currently SimpleChannel wakes up producer only when the queue has been depleted. This can be suboptimal in some situations, specifically in Dragonfly, consumer can pop an element and block on writing it into disk, an meanwhile producer can not progress. This function provides more advanced control, allowing to wake up producer earlier
Currently SimpleChannel wakes up producer only when the queue has been depleted. This can be suboptimal in some situations, specifically in Dragonfly, consumer can pop an element and block on writing it into disk, an meanwhile producer can not progress. This function provides more advanced control, allowing to wake up producer earlier