This commit is contained in:
Jacob Nguyen
2024-05-20 00:49:51 -05:00
parent 735a9e3816
commit 15511a4868
2 changed files with 3 additions and 4 deletions

View File

@@ -30,7 +30,6 @@ export const arrayifySource = <T>(src: T) =>
export const sharedEventStream = <T>(e: Emitter, eventName: string) =>
(fromEvent(e, eventName) as Observable<T>).pipe(share());
export function handleError<C>(crashHandler: ErrorHandling, emitter: Emitter, logging?: Logging) {
return (pload: unknown, caught: Observable<C>) => {
// This is done to fit the ErrorHandling contract