Lynx

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

MessageProcessor.onUpdate() method

Signature:

onUpdate(callback: (data: Record<string, unknown>) => void): () => void;

Parameters

Parameter

Type

Description

callback

(data: Record<string, unknown>) => 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.