Files
JiboOs/docs/services/events/SharedGlobalEvents.js
2026-03-16 13:53:01 +02:00

35 lines
1.1 KiB
JavaScript

/**
* Namespace for global events that are shared so that
* anyone can listen and not interfere with other listeners.
* @namespace jibo.globalEvents.shared
*/
/**
* Received only a `hey jibo`
* @name jibo.globalEvents.shared#hjOnly
* @type {TypedEvent<jibo.jetstream.types#ListenTurnResult>}
*/
/**
* Parsed against global grammar and no result.
* @name jibo.globalEvents.shared#noGlobalMatch
* @type {TypedEvent<jibo.jetstream.types#ListenTurnResult>}
*/
/**
* A non-interrupting global command (like volume setting) was heard and handled. This should
* be emitted by global handlers after something like changing the volume, or answering "No" to
* a question of "Are you sure you want to quit"
* @name jibo.globalEvents.shared#nonInterruptingGlobal
* @type {TypedEvent<void>}
*/
/**
* Received whenever the touch manger registers a screen gesture
* @name jibo.globalEvents.shared#screenGesture
* @type {TypedEvent<jibo.face.views~GESTURE>}
*/
/**
* @private
*/