GitHub
Preparing search index...
The search index is not available
Documentation
Documentation
@forgerock/storage
createStorage
Function createStorage
createStorage
<
Value
>
(
config
:
StorageConfig
,
storageName
:
string
,
customStore
?:
CustomStorageObject
,
)
:
{
get
:
()
=>
Promise
<
null
|
GenericError
|
Value
>
;
remove
:
()
=>
Promise
<
void
>
;
set
:
(
value
:
Value
,
)
=>
Promise
<
void
|
{
code
:
string
;
message
:
string
;
type
:
string
}
>
;
}
Type Parameters
Value
Parameters
config
:
StorageConfig
storageName
:
string
Optional
customStore
:
CustomStorageObject
Returns
{
get
:
()
=>
Promise
<
null
|
GenericError
|
Value
>
;
remove
:
()
=>
Promise
<
void
>
;
set
:
(
value
:
Value
,
)
=>
Promise
<
void
|
{
code
:
string
;
message
:
string
;
type
:
string
}
>
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
GitHub
Documentation
Loading...