Lynx

Home > @lynx-js/genui-a2ui > MessageStore > push

MessageStore.push() method

Append one or more raw messages to the buffer. Notifies subscribers once per call (batches a single array argument into a single notify).

Signature:

push(message: ServerToClientMessage | readonly ServerToClientMessage[]): void;

Parameters

Parameter

Type

Description

message

ServerToClientMessage | readonly ServerToClientMessage[]

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.