Class Disposable

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(action: () => void): Disposable

Parameters

  • action: () => void

Returns

Disposable

Properties

public static empty: IDisposable

Methods

public static create(action: () => void): IDisposable

Parameters

  • action: () => void

Returns

IDisposable

public dispose()