Skip to content

Documentation / base / retainObject

Function: retainObject()

retainObject(obj): void

Defined in: libs/base/src/ref.ts:77

Retains a disposable object

Parameters

obj

IDisposable

Object to retain

Returns

void

Remarks

Retains an object will increase the reference counter for this object

Released under the MIT License.