mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
12 lines
217 B
JavaScript
12 lines
217 B
JavaScript
import { map, catchError } from 'rxjs/operators';
|
|
|
|
source()
|
|
.pipe(
|
|
map(x => x + 'foo'),
|
|
map(x => x + 'bar'),
|
|
catchError(err => {})
|
|
)
|
|
.subscribe(data => {
|
|
sink(data)
|
|
});
|