Skip to content

Commit 11d48a4

Browse files
committed
feat: Add GraphRunner API to replace legacy run method.
1 parent eaf8068 commit 11d48a4

File tree

2 files changed

+289
-104
lines changed

2 files changed

+289
-104
lines changed

src/ezmsg/core/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
"Unit",
2020
"State",
2121
"run",
22+
"GraphRunner",
23+
"GraphRunnerStartError",
2224
"Complete",
2325
"NormalTermination",
2426
"GraphServer",
@@ -39,7 +41,7 @@
3941
from .collection import Collection, NetworkDefinition
4042
from .unit import Unit, task, publisher, subscriber, main, timeit, process, thread
4143
from .stream import InputStream, OutputStream
42-
from .backend import run
44+
from .backend import run, GraphRunner, GraphRunnerStartError
4345
from .backendprocess import Complete, NormalTermination
4446
from .graphserver import GraphServer
4547
from .graphcontext import GraphContext

0 commit comments

Comments
 (0)