UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

16 lines (15 loc) 754 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createBasicProgressNotification = exports.createProgressNotification = void 0; var create_notification_1 = require("../create-notification.cjs"); var create_progress_1 = require("../../progress/create-progress.cjs"); function createProgressNotification(progress) { return (0, create_notification_1.createNotification)('progress', progress); } exports.createProgressNotification = createProgressNotification; function createBasicProgressNotification(loaded, total) { return (0, create_notification_1.createNotification)('progress', (0, create_progress_1.createProgress)(loaded, total)); } exports.createBasicProgressNotification = createBasicProgressNotification;