Zeebe C# Client 2.7.0
C# Client to communicate with an Zeebe Gateway
Loading...
Searching...
No Matches
Zeebe.Client.Api.Worker Namespace Reference

Classes

interface  IJobClient
 A client with access to all job-related operation:

  • complete a job
  • mark a job as failed
  • update the retries of a job
More...
 
interface  IJobWorker
 Represents an job worker that performs jobs of a certain type. While a registration is open, the worker continuously receives jobs from the broker and hands them to a registered JobHandler. More...
 
interface  IJobWorkerBuilderStep1
 
interface  IJobWorkerBuilderStep2
 
interface  IJobWorkerBuilderStep3
 

Functions

delegate void JobHandler (IJobClient client, IJob activatedJob)
 The job handler which contains the business logic.
 
delegate Task AsyncJobHandler (IJobClient client, IJob activatedJob)
 The asynchronous job handler which contains the business logic.
 

Function Documentation

◆ AsyncJobHandler()

delegate Task Zeebe.Client.Api.Worker.AsyncJobHandler ( IJobClient  client,
IJob  activatedJob 
)

The asynchronous job handler which contains the business logic.

Parameters
clientthe job client to complete or fail the job
activatedJobthe job, which was activated by the worker
Returns
A Task representing the asynchronous operation.

◆ JobHandler()

delegate void Zeebe.Client.Api.Worker.JobHandler ( IJobClient  client,
IJob  activatedJob 
)

The job handler which contains the business logic.

Parameters
clientthe job client to complete or fail the job
activatedJobthe job, which was activated by the worker