Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed May 31, 2020
1 parent 0e425b5 commit 5b25df5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ export class DemoBasicsComponent implements OnInit {

from([1, 2])
.pipe(
tap(console.log),
coalesce(() => scheduled([1], asapScheduler), { context: window })
tap(console.log)
/// coalesce(() => scheduled([1], asapScheduler), { context: { } as any })
)
.subscribe((v) => console.log('s', v));
scheduled([1], asapScheduler).subscribe((v) => console.log('X', v));
// scheduled([1], asapScheduler).subscribe((v) => console.log('X', v));

from(['a', 'b'])
.pipe(
tap(console.log),
coalesce(() => scheduled([1], asapScheduler), { context: window })
tap(console.log)
// coalesce(() => scheduled([1], asapScheduler), { context: { } as any })
)
.subscribe((v) => console.log('s', v));
/*
Expand Down

0 comments on commit 5b25df5

Please sign in to comment.