@request-seal/core API
Preparing search index...
index
createMemoryStore
Function createMemoryStore
createMemoryStore
(
options
:
unknown
,
)
:
Result
<
Readonly
<
{
claim
:
(
claim
:
ReplayClaim
,
context
:
Context
,
)
=>
|
ReplayStoreResult
<
"claimed"
|
"already_claimed"
>
|
Promise
<
ReplayStoreResult
<
"claimed"
|
"already_claimed"
>
>
;
identity
?:
string
;
sweep
:
(
now
:
number
,
context
:
Context
,
)
=>
ReplayStoreResult
<
number
>
|
Promise
<
ReplayStoreResult
<
number
>
>
;
}
,
>
,
>
Atomic within one isolate. No timers, eviction on claim, persistence, or cross-isolate coordination.
Parameters
options
:
unknown
Returns
Result
<
Readonly
<
{
claim
:
(
claim
:
ReplayClaim
,
context
:
Context
,
)
=>
|
ReplayStoreResult
<
"claimed"
|
"already_claimed"
>
|
Promise
<
ReplayStoreResult
<
"claimed"
|
"already_claimed"
>
>
;
identity
?:
string
;
sweep
:
(
now
:
number
,
context
:
Context
,
)
=>
ReplayStoreResult
<
number
>
|
Promise
<
ReplayStoreResult
<
number
>
>
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@request-seal/core API
Loading...
Atomic within one isolate. No timers, eviction on claim, persistence, or cross-isolate coordination.