Module coxpcall

Coroutine safe xpcall and pcall versions

Encapsulates the protected calls with a coroutine based loop, so errors can be dealed without the usual Lua 5.x pcall/xpcall issues with coroutines yielding inside the call to pcall or xpcall.

Authors: Roberto Ierusalimschy and Andre Carregal Contributors: Thomas Harning Jr., Ignacio BurgueƱo, Fabio Mascarenhas

Copyright 2005 - Kepler Project

$Id: coxpcall.lua,v 1.13 2008/05/19 19:20:02 mascarenhas Exp $

Functions

copcall (f, ...) Implements pcall with coroutines


Functions

copcall (f, ...)
Implements pcall with coroutines

Parameters:

  • f
  • ...
generated by LDoc 1.4.6 Last updated 2024-09-26 20:37:35