Provides a 'finally' function.

$ luarocks install finally

'finally' in other languages is used to ensure execution
of a certain piece of code even if an error/exception is
thrown (usually for deterministic cleanup of resources).
This module provides a function that emulates the
'finally' language feature those other languages in Lua.

Versions

scm-0dev4 years ago(revision: 2)2 downloads
1.0.1-14 years ago70 downloads
1.0.0-19 years ago119 downloads

Dependencies

lua >= 5.1, < 5.5

Manifests