LiveStateOptions
What defineLiveState takes: the state’s schema and its initial state,
which every room reads at revision 0.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Schema extends z.ZodMiniType |
Properties
Section titled “Properties”| Property | Type |
|---|---|
initial |
output<Schema> |
schema |
Schema |