View Source Tmp.Worker (Tmp v0.3.0)

Executes the function given to Tmp.dir/3 in a temporary GenServer process. This module is not typically used directly.

This module is responsible for:

  • Creating a temporary directory
  • Ensuring the directory is monitored for cleanup

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

execute(monitor, path, function, timeout)

View Source
@spec execute(GenServer.name(), Path.t(), function(), timeout()) :: term()