Refactor StateManager into the ProcessingEngine

And add some tests

Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-05-03 10:53:36 +02:00
parent 8ecfa8e1ed
commit 45ca6c7699
6 changed files with 160 additions and 157 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export default async function createPlugin(
} = await builder.build();
// TODO(jhaals): run and manage in background.
processingEngine.start();
await processingEngine.start();
return await createRouter({
entitiesCatalog,