Options
All
  • Public
  • Public/Protected
  • All
Menu

@tsdotnet/disposable - v1.1.23

Index

References

Renames and re-exports DisposableBase

Functions

  • dispose(...disposables: DisposableItem[]): void
  • Takes any number of disposables as arguments and attempts to dispose them. Any exceptions thrown within a dispose are not trapped. Use 'dispose.withoutException' to automatically trap exceptions.

    Parameters

    • Rest ...disposables: DisposableItem[]

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

    Returns void

Generated using TypeDoc