onNotice()
pixi-reels / index / onNotice
Function: onNotice()
function onNotice(listener: (notice: Notice) => void): () => void;
Defined in: utils/notify.ts:71
Hear every notice the engine raises, whatever the log level: for an
events panel, a test, a telemetry hook. The console keeps its own volume
knob (setLogLevel). Returns the function that unsubscribes.
Parameters#
| Parameter | Type |
|---|---|
listener | (notice: Notice) => void |
Returns#
() => void