mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
f32d856233
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
7 lines
340 B
Text
7 lines
340 B
Text
This module implements so-called "guards". A guard is something (usually
|
|
an object) that "guards" a resource, ensuring that it is cleaned up when
|
|
expected.
|
|
|
|
Specifically, this module supports two different types of guards: guard
|
|
objects, which execute a given code block when destroyed, and scoped
|
|
guards, which are tied to the scope exit.
|