Watches for the current Space being changed NOTE: This extension determines the number of a Space, using OS X APIs that have been deprecated since 10.8 and will likely be removed in a future release. You should not depend on Space numbers being around forever!
| Signature | hs.spaces.watcher.new(handler) -> watcher | 
              
|---|---|
| Type | Constructor | 
| Description | Creates a new watcher for Space change events  | 
              
| Parameters | 
  | 
              
| Returns | 
  | 
              
| Source | extensions/spaces/libspaces_watcher.m line 69 | 
| Signature | hs.spaces.watcher:start() | 
              
|---|---|
| Type | Method | 
| Description | Starts the Spaces watcher  | 
              
| Parameters | 
  | 
              
| Returns | 
  | 
              
| Source | extensions/spaces/libspaces_watcher.m line 95 | 
| Signature | hs.spaces.watcher:stop() | 
              
|---|---|
| Type | Method | 
| Description | Stops the Spaces watcher  | 
              
| Parameters | 
  | 
              
| Returns | 
  | 
              
| Source | extensions/spaces/libspaces_watcher.m line 128 |