This is the dev preview website. Check out the document at lynxjs.org

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