web api instance property
BackgroundFetchRegistration: uploadTotal property
Limited availabilityAvailable in workers
The uploadTotal read-only property of the BackgroundFetchRegistration interface returns the total number of bytes to be sent to the server.
Value
A Number.
Examples
Logging this property to the console returns the total number of this upload.
console.log(bgFetch.uploadTotal);
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.