Class CompositeDisposable

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(disposables?: IDisposable[]): CompositeDisposable

Parameters

Returns

CompositeDisposable

constructor(disposables: IDisposable[]): CompositeDisposable

Parameters

Returns

CompositeDisposable

Properties

public isDisposed: boolean

public length: number

Methods

public add(item: IDisposable)

Parameters

public clear()

public contains(item: IDisposable): boolean

Parameters

Returns

boolean

public dispose()

public remove(item: IDisposable): boolean

Parameters

Returns

boolean

public toArray(): IDisposable[]

Returns

IDisposable[]