Skip to content

Commit

Permalink
fix(@angular-devkit/core): ensure job input values are processed in o…
Browse files Browse the repository at this point in the history
…rder

If schema validation happens to be asynchronous then the switchMap could cause loss of input values.
  • Loading branch information
clydin authored and alan-agius4 committed Feb 4, 2021
1 parent 6732294 commit 3bb3c6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export class SimpleScheduler<
// Create the input channel by having a filter.
const input = new Subject<JsonValue>();
input.pipe(
switchMap(message => handler.pipe(
concatMap(message => handler.pipe(
switchMap(handler => {
if (handler === null) {
throw new JobDoesNotExistException(name);
Expand Down

0 comments on commit 3bb3c6c

Please sign in to comment.