Ask a question to get started
Enter to send•Shift+Enter new line
A graph whose nodes communicate by reading and writing to a shared state.
The signature of each node is State -> Partial<State>.
State -> Partial<State>
Each state key can optionally be annotated with a reducer function
Merges two lists of messages, updating existing messages by ID.
By default, this ensures the state is "append-only", unless the new message has the same ID as an existing message.