---
id: 6589
title: 'main.addon.ServiceWorker: registerServiceWorker()'
state: CLOSED
labels:
  - enhancement
assignees:
  - tobiu
createdAt: '2025-03-25T13:06:08Z'
updatedAt: '2025-03-25T13:07:07Z'
githubUrl: 'https://github.com/neomjs/neo/issues/6589'
author: tobiu
commentsCount: 0
parentIssue: 6584
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2025-03-25T13:07:07Z'
---
# main.addon.ServiceWorker: registerServiceWorker()

* time to move the worker registration logic outside of `construct()`
* make the new logic async to enhance the readability

## Timeline

- 2025-03-25T13:06:08Z @tobiu added the `enhancement` label
- 2025-03-25T13:06:08Z @tobiu assigned to @tobiu
- 2025-03-25T13:06:10Z @tobiu added parent issue #6584
- 2025-03-25T13:06:54Z @tobiu referenced in commit `20e0d26` - "main.addon.ServiceWorker: registerServiceWorker() #6589"
- 2025-03-25T13:07:07Z @tobiu closed this issue

