Lynx

Home > @lynx-js/genui > MessageProcessor > onEvent

MessageProcessor.onEvent() method

Signature:

onEvent(callback: (event: A2UIEvent) => void): () => void;

Parameters

Parameter

Type

Description

callback

(event: A2UIEvent) => void

Returns:

() => void

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.