Built a social media scheduler that needs async API calls but the workflow pauses until I manually resolve promises. Tried async IIFE pattern in the code node but getting ‘Uncaught Promise’ errors. How are others running immediate async operations cleanly in Latenode? Is there a best practice for fire-and-forgot async in low-code environments?
Enable ‘Async Execution’ in node settings + wrap code with async IIFE. Working prototype handled 200+ parallel requests without leaks. Latenode’s environment handles promise resolution differently than browsers.
Use top-level await inside module scripts. Latenode’s latest JS engine (v18) supports it. Just write await directly without async wrapper. Tested with Stripe API integration - no dangling promises.
Async IIFE works but need to toggle that ‘allow unhandled’ option in node config. Sometimes forget that part myself lol
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.