Initial commit of files

This commit is contained in:
2026-02-02 20:02:11 +00:00
parent 695f853c94
commit 46ebe81379
2444 changed files with 576762 additions and 0 deletions

20
node_modules/rxjs/dist/esm/internal/operators/take.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { EMPTY } from '../observable/empty';
import { operate } from '../util/lift';
import { createOperatorSubscriber } from './OperatorSubscriber';
export function take(count) {
return count <= 0
?
() => EMPTY
: operate((source, subscriber) => {
let seen = 0;
source.subscribe(createOperatorSubscriber(subscriber, (value) => {
if (++seen <= count) {
subscriber.next(value);
if (count <= seen) {
subscriber.complete();
}
}
}));
});
}
//# sourceMappingURL=take.js.map