openbsd-ports/devel/coxpcall/pkg/DESCR

7 lines
278 B
Plaintext
Raw Normal View History

Coxpcall encapsulates the protected calls with a coroutine based loop,
so errors can be handled without the usual pcall/xpcall issues with
coroutines.
Using Coxpcall usually consists in simply loading the module and then
replacing Lua pcall and xpcall by copcall and coxpcall.