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.