A simple implementation of the OwnedDisposable, where actual disposal is passed in via the constructor.

Constructor

new(dispose:() ‑> Void)

Variables

read onlydisposed:Bool

Methods