Preparing search index...
The search index is not available
@resonatehq/sdk
@resonatehq/sdk
LocalStore
Class LocalStore
Store Interface
Implements
IStore
Index
Constructors
constructor
Properties
locks
logger
next
promises
schedules
to
Schedule
Methods
add
Schedule
delete
Schedule
generate
Promise
Id
init
schedule
Promise
set
Schedule
Constructors
constructor
new
Local
Store
(
opts
?
,
promiseStorage
?
,
scheduleStorage
?
,
lockStorage
?
)
:
LocalStore
Parameters
opts
:
Partial
<
StoreOptions
>
= {}
promiseStorage
:
IStorage
<
DurablePromiseRecord
>
= ...
scheduleStorage
:
IStorage
<
Schedule
>
= ...
lockStorage
:
IStorage
<
{
eid
:
string
;
id
:
string
;
}
>
= ...
Returns
LocalStore
Properties
locks
locks
:
LocalLockStore
Readonly
logger
logger
:
ILogger
Private
next
next
:
undefined
|
number
= undefined
promises
promises
:
LocalPromiseStore
schedules
schedules
:
LocalScheduleStore
Private
to
Schedule
to
Schedule
:
Schedule
[]
= []
Methods
add
Schedule
add
Schedule
(
schedule
)
:
void
Parameters
schedule
:
Schedule
Returns
void
delete
Schedule
delete
Schedule
(
id
)
:
void
Parameters
id
:
string
Returns
void
Private
generate
Promise
Id
generate
Promise
Id
(
schedule
)
:
string
Parameters
schedule
:
Schedule
Returns
string
Private
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Private
schedule
Promise
schedule
Promise
(
)
:
void
Returns
void
Private
set
Schedule
set
Schedule
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
locks
logger
next
promises
schedules
to
Schedule
add
Schedule
delete
Schedule
generate
Promise
Id
init
schedule
Promise
set
Schedule
@resonatehq/sdk
Loading...
Store Interface