Overview¶
Everything in Syncwave's public API is exported from the top-level syncwave package (from syncwave import ...).
Public Exports¶
- Entry point
Syncwave: manages stores and their JSON files.- Collections
SyncCollection: virtual base class of the reactive collections.SyncDict: reactive counterpart ofdict.SyncList: reactive counterpart oflist.SyncSet: reactive counterpart ofset.- Models
SyncModel: reactive counterpart ofpydantic.BaseModel.SyncRoot: reactive counterpart ofpydantic.RootModel.sync_dataclass: decorator that creates a reactive Pydantic dataclass.is_sync_dataclass: checks whether a class was decorated withsync_dataclass.- Reactivity
Reactive: base class of all reactive types (except reactive dataclasses).SyncState: enum of lifecycle states (INERT,LIVE,DEAD).- Errors
DeadReferenceError: raised when using a reactive object removed from its store.
Internal helpers that appear in type signatures (void as the omitted-default sentinel, SyncDataclass as a typing protocol) are not exported at runtime.