Libraries v5.0.0
← Back to Website
All Versions
Preparing search index...
@cleverbrush/scheduler
JobStorage
Interface JobStorage
Adapter transaction boundary. No execution handler runs inside this callback.
interface
JobStorage
{
atomic
<
T
>
(
action
:
(
transaction
:
JobStorageTransaction
)
=>
Promise
<
T
>
,
)
:
Promise
<
T
>
;
}
Implemented by
InMemoryJobStorage
PostgresJobStorage
Index
Methods
atomic
Methods
atomic
atomic
<
T
>
(
action
:
(
transaction
:
JobStorageTransaction
)
=>
Promise
<
T
>
,
)
:
Promise
<
T
>
Type Parameters
T
Parameters
action
:
(
transaction
:
JobStorageTransaction
)
=>
Promise
<
T
>
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
atomic
← Back to Website
All Versions
Libraries v5.0.0
Loading...
Adapter transaction boundary. No execution handler runs inside this callback.