Utility functions that don’t have a place anywhere else. If it doesn’t sound like it fits anywhere else, and it’s small, it probably goes here.
- embed_proxy_eq(embed_proxy1, embed_proxy2)¶
- class PeekableQueue(maxsize=0, *, loop=None)¶
An extension of an asyncio queue with a peek message, so other code doesn’t need to rely on unstable internal artifacts
Peek the current last value in the queue, or raise an exception if there are no values
Last value in the queue, assuming there are any