enqueue()
enqueue_ordered()
is_empty()
pop_item()
pop_all()
get_item()
max_importance()
clear()
iterate()
Return a buffer as a list (optionally applying some function to each value).
buffer (list[tuple[float, object]]) –
func (function, optional) – A function to apply to each value in the buffer.
list[object]