From 0b73a4b61e1b04316a4c0572683b87704213c879 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 11 May 2021 23:41:26 -0400 Subject: [PATCH] Expose msg stream types at top level --- tractor/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tractor/__init__.py b/tractor/__init__.py index 25b56b1..9ff62cc 100644 --- a/tractor/__init__.py +++ b/tractor/__init__.py @@ -5,7 +5,13 @@ tractor: An actor model micro-framework built on from trio import MultiError 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 ._trionics import open_nursery from ._state import current_actor, is_root_process