mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
Before execute_async_script supported returning value from script to /execute/async caller only if script returns promise that resolves into returned value. This change fixes execute_async_script to also support returning value to caller using callback that is always passed to script as a last argument.
20 KiB
20 KiB