MCPcopy
hub / github.com/lllyasviel/FramePack / top

Method top

diffusers_helper/thread_utils.py:58–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 return None
57
58 def top(self):
59 with self.lock:
60 if self.queue:
61 return self.queue[0]
62 return None
63
64 def next(self):
65 while True:

Callers 4

workerFunction · 0.80
callbackFunction · 0.80
workerFunction · 0.80
callbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected