-
Notifications
You must be signed in to change notification settings - Fork 83
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
Feedback about the API name "Background Sync" #76
Comments
iOS calls this "Background App Refresh" (also to end users). What's the Android term? |
So "Task" is used by HTML already and "Job" is used by JavaScript (mistakenly, imo, but it's there). Maybe "Background Script"? |
Although "task" is used by HTML, does it still kinda make sense? Isn't firing an event a task in HTML? |
+1 for task |
I think "background task" is too generic (what I suggested was too). E.g. "push" is technically a "background task" too, but a lot more clear. The one-off event is mostly about "when online", the periodic event is mostly about keeping data fresh. Background networking doesn't sound too great unfortunately, but sync mostly has those implications. And the API is sort of designed for synchronizing client-server resources. Is there any actual problem here? |
With some of the use cases mentioned in #77 the synchronizing aspect is missing. The Background Task API available to Windows Store Apps is addressing similar needs: |
This can be bikeshed forever. Until something drastically better comes along let's stick with sync. |
We had a Service Worker and related APIs hackathon in Tokyo last week.
Going around the tables, I explained about upcoming work including Background Sync.
The takeaway is that almost everyone was excited about what Background Sync would let them do but were puzzled by the name. They assumed that the API was specifically designed for dealing with synchronizing client-server data sources. Some folks suggested "Background Task".
Thoughts?
The text was updated successfully, but these errors were encountered: