Creating asyncAll(), asyncSettled(), And asyncRace() Functions Using runAsync() And Parallel Iteration In Lucee 5.3.2.77

added by JavaScript Kicks
7/2/2019 1:40:33 PM

223 Views

Ben Nadel builds on top of Lucee's parallel iteration behavior and the runAsync() function to create the Promise-inspired functions: asyncAll(), asyncSettled(), and asyncRace(). These three functions get increasingly complex, but manage to map Promise-based behaviors into ColdFusion's Future-based context.


0 comments