@stanfordspezi/spezi-web-design-system
Version:
Stanford Biodesign Digital Health Spezi Web Design System
16 lines (15 loc) • 437 B
JavaScript
const t = (e) => new Promise((r) => setTimeout(() => r(void 0), e)), n = (e, r) => {
performance.mark(`mark-${e}`);
const o = r();
return performance.measure(e, `mark-${e}`), console.info(performance.getEntriesByName(e)[0]), o;
}, m = () => {
throw new Error("Not implemented");
}, s = () => {
alert("Not implemented");
};
export {
n as logPerformance,
s as notImplementedAlert,
m as notImplementedError,
t as sleep
};