Creates a temporary directory and ties its lifecycle to the lifecycle of the callback.
The callback that receives the temporary directory.
Creates a temporary directory and ties its lifecycle to the lifecycle of the callback.