@lifaon/rx-js-light
Version:
Blazing fast Observables
9 lines (8 loc) • 377 B
JavaScript
import {createNotification} from "../create-notification.mjs";
import {createProgress} from "../../progress/create-progress.mjs";
export function createProgressNotification(progress) {
return createNotification('progress', progress);
}
export function createBasicProgressNotification(loaded, total) {
return createNotification('progress', createProgress(loaded, total));
}