Empty#

exception ray.util.queue.Empty[source]#

Raised when getting an item from an empty Queue.

A non-blocking get raises it at once, and a blocking get raises it on timeout.

PublicAPI (beta): This API is in beta and may change before becoming stable.