-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated eventloop and sync_enabled to be provided from options
- Loading branch information
Showing
14 changed files
with
107 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
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") | ||
# from asyncio import events | ||
# | ||
# def run(loop: events, coro, callback): | ||
# print("run") | ||
# | ||
# def run_safe(loop: events, coro, callback): | ||
# print("run safe") | ||
# | ||
# def run_sync(loop: events, coro): | ||
# print("run sync") | ||
# | ||
# def run_sync_safe(loop: events, coro): | ||
# print("run sync safe") | ||
# | ||
# async def run_async(loop: events, coro): | ||
# print("run async") | ||
# | ||
# async def run_async_safe(loop: events, coro): | ||
# print("run async safe") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.