(fn: Listener)
| 37 | } |
| 38 | |
| 39 | export function subscribe(fn: Listener): () => void { |
| 40 | listeners.add(fn); |
| 41 | return () => listeners.delete(fn); |
| 42 | } |
| 43 | |
| 44 | export function getWindows(): WindowState[] { |
| 45 | return windows; |
nothing calls this directly
no outgoing calls
no test coverage detected