Beignet API reference
Preparing search index...
@beignet/core
jobs
JobDispatcher
Interface JobDispatcher
Job dispatcher shape accepted by job wrappers.
interface
JobDispatcher
{
dispatch
<
J
extends
JobDef
<
string
,
StandardSchema
,
unknown
>
>
(
job
:
J
,
payload
:
InferJobPayload
<
J
>
,
options
?:
JobDispatchOptions
,
)
:
MaybePromise
<
void
>
;
}
Index
Methods
dispatch
Methods
dispatch
dispatch
<
J
extends
JobDef
<
string
,
StandardSchema
,
unknown
>
>
(
job
:
J
,
payload
:
InferJobPayload
<
J
>
,
options
?:
JobDispatchOptions
,
)
:
MaybePromise
<
void
>
Type Parameters
J
extends
JobDef
<
string
,
StandardSchema
,
unknown
>
Parameters
job
:
J
payload
:
InferJobPayload
<
J
>
Optional
options
:
JobDispatchOptions
Returns
MaybePromise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
dispatch
Beignet API reference
Loading...
Job dispatcher shape accepted by job wrappers.