📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 00:43:05
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
node_modules
/
rxjs
/
dist
/
esm5
/
internal
/
operators
📍 /home/orkouolp/web/testing.orkobd/laravel/node_modules/rxjs/dist/esm5/internal/operators
🔄 Refresh
✏️
Editing: throwIfEmpty.js
Writable
import { EmptyError } from '../util/EmptyError'; import { operate } from '../util/lift'; import { createOperatorSubscriber } from './OperatorSubscriber'; export function throwIfEmpty(errorFactory) { if (errorFactory === void 0) { errorFactory = defaultErrorFactory; } return operate(function (source, subscriber) { var hasValue = false; source.subscribe(createOperatorSubscriber(subscriber, function (value) { hasValue = true; subscriber.next(value); }, function () { return (hasValue ? subscriber.complete() : subscriber.error(errorFactory())); })); }); } function defaultErrorFactory() { return new EmptyError(); } //# sourceMappingURL=throwIfEmpty.js.map
💾 Save Changes
❌ Cancel