Represents a higher-order function that runs a task only once and provides a way to clear the result.
The function type.
The function to be executed.
Represents a higher-order function that runs a task only once and provides a way to clear the result.