Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inaccurate Abstract #1493

Closed
annevk opened this issue Jan 2, 2020 · 2 comments · Fixed by #1494
Closed

Inaccurate Abstract #1493

annevk opened this issue Jan 2, 2020 · 2 comments · Fixed by #1494
Assignees

Comments

@annevk
Copy link
Member

annevk commented Jan 2, 2020

"This specification describes a method that enables applications to take advantage of persistent background processing, including hooks to enable bootstrapping of web applications while offline."

It mentions "background" a few more times, but I think in practice they're not so much for background processing as this might make it seem.

I think it'd be better to describe it as being able to handle specific type of events in parallel to the main application, including potentially when the main application is not running. And that last bit only has some agreement for push thus far in practice, which is still visible to the user in some manner as I understand it.

@jungkees
Copy link
Collaborator

jungkees commented Jan 3, 2020

If I understood correctly, your point is that Service Worker is not for long running background tasks in general. Agree on that point. How about along the lines of this:

This specification describes a method that enables applications to take advantage of event-driven processing off the main thread, which includes enabling bootstrapping of web applications while offline. The core of this system is an event-driven Web Worker, which responds to extensible events dispatched from documents and other sources.

Service Worker is a generic entry point for extensible event processing in the Web Platform.

This specification also provides a request and response store similar in design to the HTTP cache, which makes it easier to build offline-enabled web applications.

@annevk
Copy link
Member Author

annevk commented Jan 4, 2020

Something like that seems fine. I'd not link from the abstract though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants