Re:Show HN: Flyde – an open-source visual programming language
by gabigrin on Saturday March 09, 2024 @12:39PM
(#39653304)
I think so, yes.
A rejected promise is equivalent to a node that throws an error. Flyde exposes a default "error" output pin for each node. As everything in Flyde is async, any error thrown can be viewed as a rejected promise.
Promise.any can be achieved with 3 promises and a throttle node
Promise.allSettled translated to connecting the error output pin and hooking it to whatever you wanted the fulfilled value to go.
[ Parent
| on HN ]
There are no comments on this comment yet.