Skip to content

Commit

Permalink
refactor(bufferToggle): rename liftedSource to source.
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Sep 23, 2020
1 parent ee7de5d commit 7c694b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/operators/bufferToggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function bufferToggle<T, O>(
openings: SubscribableOrPromise<O>,
closingSelector: (value: O) => SubscribableOrPromise<any>
): OperatorFunction<T, T[]> {
return operate((liftedSource, subscriber) => {
return operate((source, subscriber) => {
const buffers: T[][] = [];

// Subscribe to the openings notifier first
Expand Down Expand Up @@ -87,7 +87,7 @@ export function bufferToggle<T, O>(
)
);

liftedSource.subscribe(
source.subscribe(
new OperatorSubscriber(
subscriber,
(value) => {
Expand Down

0 comments on commit 7c694b6

Please sign in to comment.