Converts something with a scoped apply
method into
something which can be similarly used in a for-comprehension
Lets you turn on signal handling within a certain block, attaching a callback to the handler and then turning it properly off again when the block exits.
Lets you turn on signal handling within a certain block, attaching a callback to the handler and then turning it properly off again when the block exits. Does sketchy
unsafe
stuff because that's the only way you can make it properly reset when you're finished.