(listener: () => void)
| 54 | }; |
| 55 | |
| 56 | export const subscribeRecentPages = (listener: () => void): (() => void) => { |
| 57 | listeners.add(listener); |
| 58 | return () => { |
| 59 | listeners.delete(listener); |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | const persist = (next: RecentPage[]): void => { |
| 64 | cache = next; |
nothing calls this directly
no outgoing calls
no test coverage detected