• Caches the return value of calling a function. Repeat calls will simply return the cached value. Pending tests. Please report bugs.

    Type Parameters

    Parameters

    • func: T

    Returns T

    Example