mirror of
https://github.com/janet-lang/janet
synced 2025-04-10 01:06:39 +00:00

This was partially implemented before, but not in the case where the await or other signal itself was created by a C function. We have to separate code paths for generating signals - one via normal returns in janet_vm_continue, and the other via longjump. This adds handling for the longjump case, as well as improved messaging.