Class: Reference
instance reference statistics module apply any instance , used full destroy
Constructors
Methods
Constructors
constructor
• new Reference(): Reference
Returns
Methods
getInstance
▸ getInstance(): Reference
Returns
Defined in
attached
▸ attached(ref
, target
): void
current instance attached from parent instance
Parameters
Name | Type | Description |
---|---|---|
ref | any | reference current |
target | any | reference parent |
Returns
void
Defined in
detached
▸ detached(ref
, target
): void
current instance detached from parent instance
Parameters
Name | Type | Description |
---|---|---|
ref | any | reference current |
target | any | reference parent |
Returns
void
Defined in
hasReference
▸ hasReference(ref
): boolean
current instance has reference
Parameters
Name | Type |
---|---|
ref | any |
Returns
boolean
Defined in
getReferenceCount
▸ getReferenceCount(ref
): number
get current instance reference count
Parameters
Name | Type |
---|---|
ref | any |
Returns
number
Defined in
getReference
▸ getReference(ref
): Map
<any
, any
>
get current instance reference from where
Parameters
Name | Type |
---|---|
ref | any |
Returns
Map
<any
, any
>