Lynx

genui / a2ui / createMessageStore

createMessageStore()

function createMessageStore(options: MessageStoreOptions): MessageStore

Create an append-only raw-message buffer suitable for useSyncExternalStore.

Parameters

ParameterType
optionsMessageStoreOptions

Returns

MessageStore

Defined in

@lynx-js/genui/a2ui/src/store/MessageStore.ts:52

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.