For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/genui/a2ui/functions/createMessageStore.md.
Lynx
  • English
  • 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.