UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

23 lines (22 loc) 526 B
import { struct as l } from "../../../utils/struct/main.js"; import { enumerable as o } from "../../../utils/struct/property.js"; const r = Symbol("<<NO_EXCEPTION>>"), u = (n) => { const t = []; return l({ bind: o((e) => function(...i) { let c = r; try { return t.push(e), e.call(this, ...i); } catch (a) { throw c = a; } finally { t.pop(), t.length === 0 && c === r && n(); } }), effect: o(n) }); }; export { u as createEffectStack, u as default };