Skip to main content

Python function

get_blocking

get_blocking()

max.serve.queue.get_blocking(pull_queue)

source

Get the next item from the queue.

If no item is available, this method will spin until one is, sleeping 1 ms between attempts (minimum latency floor of ~1 ms).

Parameters:

pull_queue (MAXPullQueue[_PullItemType])

Return type:

_PullItemType