@request-seal/core API
Preparing search index...
index
createReplayStore
Function createReplayStore
createReplayStore
(
input
:
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
>
>
;
}
,
>
,
>
Normalize caller ports once, binding own methods to the caller's receiver.
Parameters
input
:
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...
Normalize caller ports once, binding own methods to the caller's receiver.