Expose streaming components at top level
							parent
							
								
									e058506a00
								
							
						
					
					
						commit
						a1488a1773
					
				|  | @ -15,7 +15,11 @@ from ._streaming import ( | ||||||
| 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 | ||||||
| from ._exceptions import RemoteActorError, ModuleNotExposed | from ._exceptions import ( | ||||||
|  |     RemoteActorError, | ||||||
|  |     ModuleNotExposed, | ||||||
|  |     ContextCancelled, | ||||||
|  | ) | ||||||
| from ._debug import breakpoint, post_mortem | from ._debug import breakpoint, post_mortem | ||||||
| from . import msg | from . import msg | ||||||
| from ._root import run, run_daemon, open_root_actor | from ._root import run, run_daemon, open_root_actor | ||||||
|  | @ -27,6 +31,7 @@ __all__ = [ | ||||||
|     'ModuleNotExposed', |     'ModuleNotExposed', | ||||||
|     'MultiError', |     'MultiError', | ||||||
|     'RemoteActorError', |     'RemoteActorError', | ||||||
|  |     'ContextCancelled', | ||||||
|     'breakpoint', |     'breakpoint', | ||||||
|     'current_actor', |     'current_actor', | ||||||
|     'find_actor', |     'find_actor', | ||||||
|  | @ -40,6 +45,8 @@ __all__ = [ | ||||||
|     'run_daemon', |     'run_daemon', | ||||||
|     'stream', |     'stream', | ||||||
|     'context', |     'context', | ||||||
|  |     'ReceiveMsgStream', | ||||||
|  |     'MsgStream', | ||||||
|     'to_asyncio', |     'to_asyncio', | ||||||
|     'wait_for_actor', |     'wait_for_actor', | ||||||
| ] | ] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue