You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the transition, Whim classes like Workspace, WorkspaceManager, Monitor etc. will deprecate methods as Transforms and Pickers become available. These classes will also become immutable over time.
Threading
The IStore will be protected by a reader-writer lock - see #849
Events
Events will be triggered at the end of each transform. DoLayout will be triggered at the end of the first transform to be called, before any events are triggered.
This is a revised version of #859.
Overview
There is an
IStore
which contains Whim's state. TheIStore
has:Dispatch
method to perform updates to the state, usingTransform
implementationsPick
method to retrieve data from the stateMutability
The
IStore
can only be updated viaTransform
s beingDispatch
ed to it. Within theIStore
, all items are immutable.Sectors
The
IStore
will consist of the following sectors:MonitorSector
WindowSector
MapSector
WorkspaceSector
CommandSector
RouterSector
FilterSector
Managers will remain to facilitate plugins and native calls.
External API
Transform
s andPicker
s will use handles or IDs.Result
s will be used to return errors.Internal API
Defaults will be preferred over nullables for IDs:
Transition
During the transition, Whim classes like
Workspace
,WorkspaceManager
,Monitor
etc. will deprecate methods asTransform
s andPicker
s become available. These classes will also become immutable over time.Threading
The
IStore
will be protected by a reader-writer lock - see #849Events
Events will be triggered at the end of each transform.
DoLayout
will be triggered at the end of the first transform to be called, before any events are triggered.Plan
Store
basic structure #890MonitorSector
#893WindowSector
#895MapSector
#900WorkspaceSector
#904DeferWorkspacePosManager
etc.LayoutPreviewPlugin
worksStore
#914Potential Changes
CommandSector
RouterSector
FilterSector
Questions
IInternal*
APIs, should there still be some sort of mockable API?The text was updated successfully, but these errors were encountered: