Prometheus Entity Management API
Preparing search index...
@prometheus-ags/entity-graph-core
GraphEffectOptions
Interface GraphEffectOptions<T>
interface
GraphEffectOptions
<
T
>
{
getKey
?:
(
value
:
T
,
index
:
number
)
=>
string
;
isEqual
?:
(
previousValue
:
T
,
nextValue
:
T
)
=>
boolean
;
onEnter
?:
(
event
:
{
key
:
string
;
value
:
T
}
)
=>
void
;
onExit
?:
(
event
:
{
key
:
string
;
previousValue
:
T
}
)
=>
void
;
onUpdate
?:
(
event
:
GraphEffectEvent
<
T
>
)
=>
void
;
query
:
()
=>
T
|
T
[]
|
null
;
skipInitial
?:
boolean
;
}
Type Parameters
T
Index
Properties
get
Key?
is
Equal?
on
Enter?
on
Exit?
on
Update?
query
skip
Initial?
Properties
Optional
get
Key
getKey
?:
(
value
:
T
,
index
:
number
)
=>
string
Optional
is
Equal
isEqual
?:
(
previousValue
:
T
,
nextValue
:
T
)
=>
boolean
Optional
on
Enter
onEnter
?:
(
event
:
{
key
:
string
;
value
:
T
}
)
=>
void
Optional
on
Exit
onExit
?:
(
event
:
{
key
:
string
;
previousValue
:
T
}
)
=>
void
Optional
on
Update
onUpdate
?:
(
event
:
GraphEffectEvent
<
T
>
)
=>
void
query
query
:
()
=>
T
|
T
[]
|
null
Optional
skip
Initial
skipInitial
?:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
get
Key
is
Equal
on
Enter
on
Exit
on
Update
query
skip
Initial
Prometheus Entity Management API
Loading...