+5
.changeset/rich-pans-smoke.md
+5
.changeset/rich-pans-smoke.md
+18
src/__tests__/operators.test.ts
+18
src/__tests__/operators.test.ts
···expect(fn.mock.calls).toEqual([[start(expect.any(Function))], [push(1)], [SignalKind.End]]);
+6
-1
src/operators.ts
+6
-1
src/operators.ts
···* `takeWhile` will issue all values as normal from the input {@link Source} until the `predicate`* function returns `false`. When the `predicate` function returns `false`, the current value is+* If `addOne` is set to `true`, the value for which the `predicate` first returned `false` is···+export function takeWhile<T>(predicate: (value: T) => boolean, addOne?: boolean): Operator<T, T> {···