@suluk/cloudflare - v0.4.0
↑ Suluk
GitHub
Preparing search index...
KvLike
Interface KvLike
The slice of the Workers KV API this needs (get/put with TTL).
interface
KvLike
{
get
(
key
:
string
)
:
Promise
<
string
|
null
>
;
put
(
key
:
string
,
value
:
string
,
opts
?:
{
expirationTtl
?:
number
}
,
)
:
Promise
<
void
>
;
}
Index
Methods
get
put
Methods
get
get
(
key
:
string
)
:
Promise
<
string
|
null
>
Parameters
key
:
string
Returns
Promise
<
string
|
null
>
put
put
(
key
:
string
,
value
:
string
,
opts
?:
{
expirationTtl
?:
number
}
,
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
string
Optional
opts
:
{
expirationTtl
?:
number
}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
put
↑ Suluk
GitHub
@suluk/cloudflare - v0.4.0
Loading...
The slice of the Workers KV API this needs (get/put with TTL).