Files
sproutclaw/packages
Mario Zechner 9a3f01fcb8 Fix REPL timeout with return statements by wrapping user code in function
- User code with return statement was exiting the async IIFE early
- Completion callbacks and window.complete() were never reached
- Now wrap user code in userCodeFunc to capture return value
- Return statement returns from userCodeFunc, not outer IIFE
- Completion callbacks and window.complete() always execute
- Return value is logged to console output
- Fixes 30-second timeout when using return statements in REPL
2025-10-09 20:43:39 +02:00
..
2025-10-05 23:00:59 +02:00
2025-10-05 23:00:59 +02:00
2025-10-05 23:00:59 +02:00
2025-10-05 23:00:59 +02:00