MCPcopy Create free account
hub / github.com/apache/storm / readTaskIds

Function readTaskIds

storm-multilang/python/src/main/resources/resources/storm.py:54–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53
54def readTaskIds():
55 if pending_taskids:
56 return pending_taskids.popleft()
57 else:
58 msg = readMsg()
59 while type(msg) is not list:
60 pending_commands.append(msg)
61 msg = readMsg()
62 return msg
63
64
65#queue up taskids we read while trying to read commands/tuples

Callers 1

emitFunction · 0.85

Calls 2

readMsgFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected