Skip to content

Commit

Permalink
docs: fix multicast observable example output (#46127)
Browse files Browse the repository at this point in the history
Fix the order of logs that represent the output of the multicasting example, as the correct behavior is that all observers are notified of the final value before any of them is notified about completion.
PR Close #46127
  • Loading branch information
Badawi7 authored and jessicajaniuk committed Jun 14, 2022
1 parent 12edfad commit ce74bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aio/content/examples/observables/src/multicasting.ts
Expand Up @@ -161,8 +161,8 @@ export function docRegionMulticastSequence(console: Console, runSequence: boolea
// (at 2 seconds): 2nd subscribe: 2
// (at 3 seconds): Emitting 3
// (at 3 seconds): 1st subscribe: 3
// (at 3 seconds): 1st sequence finished
// (at 3 seconds): 2nd subscribe: 3
// (at 3 seconds): 1st sequence finished
// (at 3 seconds): 2nd sequence finished

// #enddocregion multicast_sequence
Expand Down

0 comments on commit ce74bea

Please sign in to comment.