From 55bea3ca173508766593adfd2da0fc6afc2329b9 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