• Takes an array of disposable objects and ensures they are disposed.

    Parameters

    • disposables: DisposableItemArray

      The objects to dispose of. Can accept and will ignore objects that don't have a dispose() method.

    • Optional trapExceptions: boolean

      If true, prevents exceptions from being thrown when disposing.

    Returns void

Generated using TypeDoc