Function usingScope

  • Execute a function with a DisposeScope and clean up after the function scope ends.

    Returns

    Result of function

    Type Parameters

    • T = void

    Parameters

    Returns T