Skip to content

Commit

Permalink
Added event loop helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Oct 3, 2023
1 parent 2a7c4fe commit a718440
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ably/executer/eventloop_helper.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from asyncio import events


def run(loop: events, coro):
print("run")

def run_safe(loop: events, coro):
print("run safe")

def run_sync(loop: events, coro):
print("run sync")

def run_sync_safe(loop: events, coro):
print("run sync safe")

def run_async(loop: events, coro):
print("run async")

def run_async_safe(loop: events, coro):
print("run async safe")

0 comments on commit a718440

Please sign in to comment.