Documentation
¶
Index ¶
- type Snapshot
- type Store
- func (s *Store) Bind(snapshot Snapshot) (computeruse.AppState, error)
- func (s *Store) Close() error
- func (s *Store) Get(stateID string) (computeruse.AppState, bool)
- func (s *Store) GetForApp(selector string) (computeruse.AppState, bool)
- func (s *Store) InvalidateSession(sessionID string) error
- func (s *Store) Resolve(stateID string, index int) (*axuiautomation.Element, computeruse.ElementNode, error)
- func (s *Store) ResolveForApp(selector string, index int) (*axuiautomation.Element, computeruse.ElementNode, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Snapshot ¶
type Snapshot interface {
State() computeruse.AppState
Resolve(index int) (*axuiautomation.Element, computeruse.ElementNode, error)
Close() error
}
Snapshot is the live state handle stored for later actions.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store keeps the latest live state per app session.
func (*Store) InvalidateSession ¶
func (*Store) Resolve ¶
func (s *Store) Resolve(stateID string, index int) (*axuiautomation.Element, computeruse.ElementNode, error)
func (*Store) ResolveForApp ¶
func (s *Store) ResolveForApp(selector string, index int) (*axuiautomation.Element, computeruse.ElementNode, error)
Click to show internal directories.
Click to hide internal directories.