Actual Type: Struct Note: Stripped to generate better documentation.
The API for Structs.
The Serializable equivalent of a vanilla JavaScript Object.
Object
Actual Type: Method Note: Stripped to generate better documentation.
Creates a Struct.
The plain JavaScript object used to populate the initial Struct state.
All property values must be Serializable.
A Struct.
const { containers } = createFutureMachine(db);containers.struct.create({ str: 'Hello', num: 10 }); Copy
const { containers } = createFutureMachine(db);containers.struct.create({ str: 'Hello', num: 10 });
The API for Structs.
The Serializable equivalent of a vanilla JavaScript
Object.