Skip to content

Commit

Permalink
porg
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes committed May 20, 2024
1 parent 735a9e3 commit 15511a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/core/operators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/handlers/event-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ export function executeModule(

/**
* A higher order function that
* - creates a stream of {@link VoidResult} { config.createStream }
* - any failures results to { config.onFailure } being called
* - calls all control plugins.
* - any failures results to { config.onStop } being called
* - if all results are ok, the stream is converted to { config.onNext }
* emit config.onSuccess Observable
* config.onNext will be returned if everything is okay.
* @param config
* @returns receiver function for flattening a stream of data
*/
Expand Down

0 comments on commit 15511a4

Please sign in to comment.