mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
style: add comment
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user