MCPcopy
hub / github.com/raiden-network/raiden / peek

Method peek

raiden/utils/notifying_queue.py:33–34  ·  view source on GitHub ↗
(self, block: bool = True, timeout: float = None)

Source from the content-addressed store, hash-verified

31 return value
32
33 def peek(self, block: bool = True, timeout: float = None) -> T:
34 return self.queue.peek(block, timeout)
35
36 def __len__(self) -> int:
37 return len(self.queue)

Callers 1

test_queueFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_queueFunction · 0.76