Skip to content

Commit

Permalink
doc(decision-tree): update operator/function names (ReactiveX#3912)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaran-google authored and benlesh committed Jul 13, 2018
1 parent a2606a3 commit d349706
Showing 1 changed file with 28 additions and 31 deletions.
59 changes: 28 additions & 31 deletions doc/decision-tree-widget/tree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ children:
- label: pluck
- label: I want to spy the values being emitted without affecting them
children:
- label: do
- label: tap
- label: I want to allow some values to pass
children:
- label: based on custom logic
Expand Down Expand Up @@ -241,9 +241,9 @@ children:
- label: and recursively start a new Observable for each new value
children:
- label: expand
- label: I want to perform custom operations without breaking the chained calls API
- label: I want to perform custom operations
children:
- label: let
- label: pipe
- label: I want to share a subscription between multiple subscribers
children:
- label: using a conventional Subject
Expand All @@ -266,14 +266,11 @@ children:
- label: using a specific subject implementation
children:
- label: multicast
- label: and make it behave like a cache
children:
- label: cache
- label: when an error occurs
children:
- label: I want to start a new Observable
children:
- label: catch
- label: catchError
- label: I want to re-subscribe
children:
- label: immediately
Expand All @@ -297,7 +294,7 @@ children:
- label: concat
- label: when it completes, errors or unsubscribes, I want to execute a function
children:
- label: finally
- label: finalize
- label: I want to change the scheduler
children:
- label: that routes calls to subscribe
Expand Down Expand Up @@ -329,84 +326,84 @@ children:
children:
- label: I want to receive values only from the Observable that emits a value first
children:
- label: Observable.race
- label: race
- label: I want to be notified when all of them have completed
children:
- label: Observable.forkJoin
- label: forkJoin
- label: I want to output the values from either of them
children:
- label: Observable.merge
- label: merge
- label: I want to output a value computed from values of the source Observables
children:
- label: using the latest value of each source whenever any source emits
children:
- label: Observable.combineLatest
- label: combineLatest
- label: using each source value only once
children:
- label: Observable.zip
- label: zip
- label: I want to subscribe to each in order
children:
- label: Observable.concat
- label: concat
- label: 'I have no Observables yet, and'
children:
- label: I want to create a new Observable
children:
- label: using custom logic
children:
- label: Observable.create
- label: new Observable()
- label: using a state machine similar to a for loop
children:
- label: Observable.generate
- label: generate
- label: that throws an error
children:
- label: Observable.throw
- label: throwError
- label: that just completes, without emitting values
children:
- label: Observable.empty
- label: empty
- label: that never emits anything
children:
- label: Observable.never
- label: never
- label: from an existing source of events
children:
- label: coming from the DOM or Node.js or similar
children:
- label: Observable.fromEvent
- label: fromEvent
- label: that uses an API to add and remove event handlers
children:
- label: Observable.fromEventPattern
- label: fromEventPattern
- label: from an ES6 Promise
children:
- label: Observable.fromPromise
- label: fromPromise
- label: from a Promise or an event source or an array
children:
- label: Observable.from
- label: from
- label: that iterates
children:
- label: over the values in an array
children:
- label: Observable.fromArray
- label: fromArray
- label: over values in a numeric range
children:
- label: Observable.range
- label: range
- label: over prefined values given as arguments
children:
- label: Observable.of
- label: of
- label: that emits values on a timer
children:
- label: regularly
children:
- label: Observable.interval
- label: interval
- label: with an optional initial delay
children:
- label: Observable.timer
- label: timer
- label: which is built on demand when subscribed
children:
- label: Observable.defer
- label: defer
- label: I want to convert a callback to an Observable
children:
- label: supporting a conventional callback API
children:
- label: Observable.bindCallback
- label: bindCallback
- label: supporting Node.js callback style API
children:
- label: Observable.bindNodeCallback
- label: bindNodeCallback

0 comments on commit d349706

Please sign in to comment.