eff MkTempDir
An effect used to create a temporary directory.
Use the MkTempDir.runWithFileWrite handler.
MkTempDir.runWithFileWrite
def mkTempDir(prefix: String): Result[IoError, String] \ MkTempDir
Creates a new temporary directory with the given prefix.
Returns the path to the directory.
def runWithFileWrite(f: Unit -> a \ ef): a \ (ef - MkTempDir) + FileWrite
Handles the MkTempDir effect of the given function f using the FileWrite effect.
MkTempDir
f
FileWrite