Skip to content

Commit

Permalink
docs(exhaustAll): fix marble diagram (#6983)
Browse files Browse the repository at this point in the history
* docs(exhaustAll): fix marble diagram

* chore(swirly): update packages

(cherry picked from commit f4fdad0)
  • Loading branch information
jakovljevic-mladen committed Jan 26, 2023
1 parent 630d2b0 commit 29d9ca5
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 9 deletions.
9 changes: 3 additions & 6 deletions docs_app/package.json
Expand Up @@ -68,9 +68,9 @@
"@angular/cli": "^13.1.2",
"@angular/compiler-cli": "^13.1.1",
"@jsdevtools/rehype-inline-svg": "^1.1.1",
"@swirly/parser": "^0.17.6",
"@swirly/renderer-node": "^0.17.6",
"@swirly/types": "^0.17.6",
"@swirly/parser": "^0.18.1",
"@swirly/renderer-node": "^0.18.2",
"@swirly/types": "^0.18.1",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "^2.0.3",
"@types/node": "^12.11.1",
Expand Down Expand Up @@ -121,9 +121,6 @@
"shelljs": "^0.8.3",
"svgo": "^1.3.2",
"svgson": "^4.1.0",
"swirly-parser": "^0.13.6",
"swirly-renderer-node": "^0.13.6",
"swirly-types": "^0.13.6",
"tree-kill": "^1.2.2",
"ts-node": "^8.2.0",
"tslint": "~6.1.0",
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions docs_app/src/assets/images/marble-diagrams/exhaustAll.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs_app/tools/marbles/diagrams/exhaustAll.txt
@@ -0,0 +1,12 @@
x = --a---b---c--|

y = ---d--e---f---|

z = ---g--h---i---|

------x-------y------z--|
ghosts = y

> exhaustAll

--------a---b---c-------g--h---i---|
2 changes: 1 addition & 1 deletion src/internal/operators/exhaustAll.ts
Expand Up @@ -9,7 +9,7 @@ import { identity } from '../util/identity';
* <span class="informal">Flattens an Observable-of-Observables by dropping the
* next inner Observables while the current inner is still executing.</span>
*
* ![](exhaust.png)
* ![](exhaustAll.svg)
*
* `exhaustAll` subscribes to an Observable that emits Observables, also known as a
* higher-order Observable. Each time it observes one of these emitted inner
Expand Down
2 changes: 1 addition & 1 deletion src/internal/operators/exhaustMap.ts
Expand Up @@ -27,7 +27,7 @@ export function exhaustMap<T, I, R>(
* Observable only if the previous projected Observable has completed.
*
* <span class="informal">Maps each value to an Observable, then flattens all of
* these inner Observables using {@link exhaust}.</span>
* these inner Observables using {@link exhaustAll}.</span>
*
* ![](exhaustMap.png)
*
Expand Down
2 changes: 1 addition & 1 deletion src/internal/operators/switchMap.ts
Expand Up @@ -25,7 +25,7 @@ export function switchMap<T, R, O extends ObservableInput<any>>(
* Observable, emitting values only from the most recently projected Observable.
*
* <span class="informal">Maps each value to an Observable, then flattens all of
* these inner Observables.</span>
* these inner Observables using {@link switchAll}.</span>
*
* ![](switchMap.png)
*
Expand Down

0 comments on commit 29d9ca5

Please sign in to comment.