Liking cljdoc? Tell your friends :D

web.workers.SyncEvent

The SyncEvent interface represents a sync action that is dispatched the web.workers.ServiceWorkerGlobalScope of a ServiceWorker.

The SyncEvent interface represents a sync action that is dispatched
the `web.workers.ServiceWorkerGlobalScope` of a ServiceWorker.
raw docstring

constructorcljs

(constructor & args)

Constructor.

The SyncEvent() constructor creates a new web.workers.SyncEvent object.

type The type of the Event. init Optional An options object containing any custom settings that you want to apply to the event object. Options are as follows:

tag: A developer-defined unique identifier for this SyncEvent. lastChance: A js.Boolean indicating that the user agent will not make further synchronization attempts after the current attempt.

See also: https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/SyncEvent

Constructor.

The SyncEvent() constructor creates a new `web.workers.SyncEvent` object.

type
The type of the Event.
init Optional
An options object containing any custom settings that you want to apply to the event object. Options are as follows:

tag: A developer-defined unique identifier for this SyncEvent.
lastChance: A `js.Boolean` indicating that the user agent will not make further synchronization attempts after the current attempt.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/SyncEvent`
sourceraw docstring

last-chancecljs

(last-chance this)

Property.

[Read Only] [Experimental]

The SyncEvent.lastChance read-only property of the web.workers.SyncEvent returns true if the user agent will not make further synchronization after the current attempt. This is the value passed in the lastChance of the SyncEvent() constructor.

var lastChance = SyncEvent.lastChance

See also: https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/lastChance

Property.

[Read Only]
[Experimental]

The SyncEvent.lastChance read-only property of the `web.workers.SyncEvent`
returns true if the user agent will not make further synchronization
after the current attempt. This is the value passed in the lastChance
of the `SyncEvent()` constructor.

`var lastChance = SyncEvent.lastChance`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/lastChance`
sourceraw docstring

registrationcljs

(registration this)

Property.

[Read Only] [Non Standard]

The registration read-only property of the web.workers.SyncEvent returns a reference to a SyncRegistration object.

var syncReg = SyncEvent.registration

See also: https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/registration

Property.

[Read Only]
[Non Standard]

The registration read-only property of the `web.workers.SyncEvent`
returns a reference to a `SyncRegistration` object.

`var syncReg = SyncEvent.registration`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/registration`
sourceraw docstring

tagcljs

(tag this)

Property.

[Read Only] [Experimental]

The SyncEvent.tag read-only property of the web.workers.SyncEvent returns the developer-defined identifier for this SyncEvent. is the value passed in the tag parameter of the SyncEvent()

var tag = SyncEvent.tag

See also: https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/tag

Property.

[Read Only]
[Experimental]

The SyncEvent.tag read-only property of the `web.workers.SyncEvent`
returns the developer-defined identifier for this SyncEvent.
is the value passed in the tag parameter of the `SyncEvent()`

`var tag = SyncEvent.tag`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SyncEvent/tag`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close