This rule effects failures if the notifier passed to a repeatWhen
or retryWhen
callback is not used.
Examples of incorrect code for this rule:
import { range } from "rxjs";
import { repeatWhen, take } from "rxjs/operators";
const repeating = source.pipe(
repeatWhen(notifications => range(0, 3))
);
Examples of correct code for this rule:
import { repeatWhen, take } from "rxjs/operators";
const repeating = source.pipe(
repeatWhen(notifications => notifications.pipe(take(3)))
);
This rule has no options.