Lynx

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

MessageStore.subscribe property

useSyncExternalStore subscribe contract.

Signature:

readonly subscribe: (cb: () => void) => () => 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.