Description

Wait for a []byte to be added or queue to be closed. If there is items on the queue the first will be returned immediately. Will return "", false if the queue is closed. Otherwise the return value of "remove" is returned.

Wait is referenced in 1 repository

github.com/centrifugal/centrifugo