Expose msg stream types at top level

wip_fix_asyncio_gen_streaming
Tyler Goodlet 2021-05-11 23:41:26 -04:00
parent 6f2fb9e47c
commit bfa4410133
1 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,13 @@ tractor: An actor model micro-framework built on
from trio import MultiError from trio import MultiError
from ._ipc import Channel from ._ipc import Channel
from ._streaming import Context, stream, context from ._streaming import (
Context,
ReceiveMsgStream,
MsgStream,
stream,
context,
)
from ._discovery import get_arbiter, find_actor, wait_for_actor from ._discovery import get_arbiter, find_actor, wait_for_actor
from ._trionics import open_nursery from ._trionics import open_nursery
from ._state import current_actor, is_root_process from ._state import current_actor, is_root_process