forked from goodboy/tractor
1
0
Fork 0

Expose streaming components at top level

bistream_backup
Tyler Goodlet 2021-06-13 18:02:27 -04:00
parent e058506a00
commit a1488a1773
1 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,11 @@ from ._streaming import (
from ._discovery import get_arbiter, find_actor, wait_for_actor
from ._trionics import open_nursery
from ._state import current_actor, is_root_process
from ._exceptions import RemoteActorError, ModuleNotExposed
from ._exceptions import (
RemoteActorError,
ModuleNotExposed,
ContextCancelled,
)
from ._debug import breakpoint, post_mortem
from . import msg
from ._root import run, run_daemon, open_root_actor
@ -27,6 +31,7 @@ __all__ = [
'ModuleNotExposed',
'MultiError',
'RemoteActorError',
'ContextCancelled',
'breakpoint',
'current_actor',
'find_actor',
@ -40,6 +45,8 @@ __all__ = [
'run_daemon',
'stream',
'context',
'ReceiveMsgStream',
'MsgStream',
'to_asyncio',
'wait_for_actor',
]