Closed betula closed 3 years ago
Probably combine function not so good decision. Another way:
export const allReady = ready.from(() => {
if (!frontReady.val) return;
if (backReady.val || !sharedCardPage().card?.image_fullscreen_back) {} else return;
return true;
});
or
export const allReady = ready.from(
signal.from(() => {
if (!frontReady.val) return;
if (backReady.val || !sharedCardPage().card?.image_fullscreen_back) {} else return;
return true;
}).flow.filter(v => v)
);
Liked https://github.com/betula/realar/issues/70 (about stoppable/stop and flow breaking)
Task: The flow implementation: https://github.com/betula/reactive-box/issues/9
Flow on discussion. The "combine" implemented as "value.combine" in 0.6.0