@camunda8/sdk
Preparing search index...
index
<internal>
ZBStreamWorker
Class ZBStreamWorker
Implements
IZBJobWorker
Index
Constructors
constructor
Methods
close
debug
error
log
make
Complete
Handlers
stream
Jobs
Constructors
constructor
new
ZBStreamWorker
(
__namedParameters
:
{
grpcClient
:
ZBGrpc
;
log
:
StatefulLogInterceptor
;
zbClient
:
ZeebeGrpcClient
;
}
,
)
:
ZBStreamWorker
Parameters
__namedParameters
:
{
grpcClient
:
ZBGrpc
;
log
:
StatefulLogInterceptor
;
zbClient
:
ZeebeGrpcClient
}
Returns
ZBStreamWorker
Methods
close
close
()
:
Promise
<
void
>
Returns
Promise
<
void
>
debug
debug
(
msg
:
JSON
)
:
void
Parameters
msg
:
JSON
Returns
void
error
error
(
msg
:
JSON
)
:
void
Parameters
msg
:
JSON
Returns
void
log
log
(
msg
:
JSON
)
:
void
Parameters
msg
:
JSON
Returns
void
Protected
make
Complete
Handlers
makeCompleteHandlers
<
T
>
(
thisJob
:
Job
,
taskType
:
string
,
)
:
JobCompletionInterface
<
T
>
Type Parameters
T
Parameters
thisJob
:
Job
taskType
:
string
Returns
JobCompletionInterface
<
T
>
stream
Jobs
streamJobs
<
WorkerInputVariables
,
CustomHeaderShape
,
WorkerOutputVariables
>
(
req
:
StreamActivatedJobsRequest
&
{
customHeadersDto
:
new
(
...
args
:
any
[]
)
=>
Readonly
<
CustomHeaderShape
>
;
inputVariableDto
:
new
(
...
args
:
any
[]
)
=>
Readonly
<
WorkerInputVariables
>
;
taskHandler
:
ZBWorkerTaskHandler
<
WorkerInputVariables
,
CustomHeaderShape
,
WorkerOutputVariables
,
>
;
}
,
)
:
Promise
<
{
close
:
()
=>
void
}
>
Type Parameters
WorkerInputVariables
CustomHeaderShape
WorkerOutputVariables
Parameters
req
:
StreamActivatedJobsRequest
&
{
customHeadersDto
:
new
(
...
args
:
any
[]
)
=>
Readonly
<
CustomHeaderShape
>
;
inputVariableDto
:
new
(
...
args
:
any
[]
)
=>
Readonly
<
WorkerInputVariables
>
;
taskHandler
:
ZBWorkerTaskHandler
<
WorkerInputVariables
,
CustomHeaderShape
,
WorkerOutputVariables
,
>
;
}
Returns
Promise
<
{
close
:
()
=>
void
}
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
close
debug
error
log
make
Complete
Handlers
stream
Jobs
@camunda8/sdk
Loading...