js-util

Home > rc-js-util > IReferenceCountedPtr > bindLifecycle

IReferenceCountedPtr.bindLifecycle() method

Claims the referenceCountedObject and releases when this object is released.

Signature:

bindLifecycle(referenceCountedObject: IReferenceCountedPtr): void;

Parameters

Parameter Type Description
referenceCountedObject IReferenceCountedPtr  

Returns:

void