Prometheus Entity Management API
Preparing search index...
@prometheus-ags/entity-graph-core
subscribeDevtoolsEvent
Function subscribeDevtoolsEvent
subscribeDevtoolsEvent
(
cb
:
DevtoolsListener
)
:
()
=>
void
Subscribe to the devtools event stream.
Returns an
UnsubscribeFn
that removes this listener.
Idempotent: subscribing the same function reference twice tracks it once (Set semantics).
Throwing listeners do NOT block delivery to other listeners; the error is logged via
console.warn
and dispatch continues.
Re-entrancy safe: listeners that subscribe/unsubscribe during dispatch affect future events only, not the in-flight one.
Parameters
cb
:
DevtoolsListener
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Prometheus Entity Management API
Loading...
Subscribe to the devtools event stream.
UnsubscribeFnthat removes this listener.console.warnand dispatch continues.