Skip to content

Commit

Permalink
Move finally under observable-returning methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Sep 13, 2023
1 parent 8f15cf5 commit a32af6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ interface Observable {
constructor(SubscribeCallback callback);
undefined subscribe(Observer observer);

Observable finally(VoidFunction callback);

// Observable-returning operators. See "Operators" section below.
// TODO: Use more specific callback types than `Function`.
Expand All @@ -325,6 +324,8 @@ interface Observable {
Observable take(unsigned long long);
Observable drop(unsigned long long);
Observable flatMap(Function project);
Observable finally(VoidFunction callback);

Promise<sequence<any>> toArray();
Promise<undefined> forEach(Function callback);

Expand Down

0 comments on commit a32af6b

Please sign in to comment.