@lifaon/rx-js-light
Version:
Blazing fast Observables
9 lines (8 loc) • 514 B
JavaScript
import {STATIC_COMPLETE_NOTIFICATION} from "../../../../../../misc/notifications/built-in/complete/complete-notification.constant.mjs";
import {createNextNotification} from "../../../../../../misc/notifications/built-in/next/create-next-notification.mjs";
import {fromArray} from "../../../without-notifications/iterable/from-array/from-array.mjs";
export function complete(...values) {
return fromArray([...values.map(value => {
return createNextNotification(value);
}), STATIC_COMPLETE_NOTIFICATION]);
}