Skip to content

Commit 976be37

Browse files
committed
wip
1 parent b58f603 commit 976be37

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

cadence/async/event_loop.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22

3-
from asyncio import AbstractEventLoop
3+
from asyncio import AbstractEventLoop, BaseEventLoop, EventLoop
44
from asyncio import Future
55
import asyncio
66

7-
class EventLoop(AbstractEventLoop):
7+
class EventLoop(BaseEventLoop):
88
__running = False
99

1010
def __init__(self):
@@ -33,6 +33,11 @@ async def delay_print(message, delay):
3333
print(message)
3434

3535

36+
class DeterministicRunner():
37+
runner = None
38+
39+
def run_util_block
40+
3641
if __name__ == "__main__":
3742
print("Starting workflow")
3843
loop = asyncio.new_event_loop()

0 commit comments

Comments
 (0)