style: add comment

This commit is contained in:
Jacob Nguyen
2022-06-27 15:49:09 -05:00
parent 4c2a7e8c90
commit 4f520b2e5a

View File

@@ -50,6 +50,7 @@ export function processEvents(
if (emitter === undefined) {
throw new Error(`Cannot find event emitter as it is undefined`);
}
//Would add sern event emitter for events loaded, attached onto sern emitter, but could lead to unwanted behavior!
fromEvent(emitter, e.name, e.execute as SpreadParams<typeof e.execute>).subscribe();
});
}