org
.
scalajs
.
dom
.
experimental
.
serviceworkers
Cache
Related Doc:
package serviceworkers
abstract
class
Cache
extends
Object
See
¶5.4 cache
of ServiceWorker whatwg spec.
Annotations
@RawJSType
()
@native
()
Linear Supertypes
Object
,
Any
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Cache
Object
Any
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
Cache
()
Abstract Value Members
abstract
def
keys
(
request:
UndefOr
[
RequestInfo
] =
js.native
,
options:
UndefOr
[
CacheQueryOptions
] =
js.native
)
:
Promise
[
Array
[
Request
]]
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
add
(
request:
RequestInfo
)
:
Promise
[
Unit
]
def
addAll
(
requests:
Array
[
RequestInfo
]
)
:
Promise
[
Unit
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
delete
(
request:
RequestInfo
,
options:
UndefOr
[
CacheQueryOptions
] =
js.native
)
:
Promise
[
Boolean
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hasOwnProperty
(
v:
String
)
:
Boolean
Definition Classes
Object
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isPrototypeOf
(
v:
Object
)
:
Boolean
Definition Classes
Object
def
match
(
request:
RequestInfo
,
options:
UndefOr
[
CacheQueryOptions
] =
js.native
)
:
Promise
[
UndefOr
[
Response
]]
def
matchAll
(
request:
RequestInfo
=
js.native
,
options:
UndefOr
[
CacheQueryOptions
] =
js.native
)
:
Promise
[
Array
[
Response
]]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
propertyIsEnumerable
(
v:
String
)
:
Boolean
Definition Classes
Object
def
put
(
request:
RequestInfo
,
response:
Response
)
:
Promise
[
Unit
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toLocaleString
()
:
String
Definition Classes
Object
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
valueOf
()
:
Any
Definition Classes
Object
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Object
Inherited from
Any
Inherited from
AnyRef
Inherited from
Any
Ungrouped
See ¶5.4 cache of ServiceWorker whatwg spec.