PlutoLang / Pluto

A superset of Lua 5.4 with a focus on general-purpose programming.
https://pluto-lang.org/docs/Introduction
MIT License
339 stars 20 forks source link

Scheduler: Custom errorfunc #768

Closed Sainan closed 3 months ago

Sainan commented 3 months ago

Currently, the scheduler simply uses xresume, but it might be desirable to not have a single coroutine's error take down the whole scheduler.