Home > @lynx-js/genui-a2ui > MessageProcessor
Signature:
export declare class MessageProcessor
Constructor
Modifiers
Description
(constructor)()
Constructs a new instance of the MessageProcessor class
MessageProcessor
Property
Type
surfaces
Map<string, Surface>
Method
clearSurfaces()
dispatch(message)
getOrCreateSurface(surfaceId)
getSurfaces()
onEvent(callback)
onUpdate(callback)
processMessages(messages)
resolvePath(path, dataContextPath)
Resolve a JSON Pointer taking into account the current data context.