Table of Contents

Class CreateWorkerRequest

Namespace
Virtufin.WorkManager.Contracts
Assembly
Virtufin.WorkManager.dll

Request to create a new worker.

public sealed record CreateWorkerRequest : IEquatable<CreateWorkerRequest>
Inheritance
CreateWorkerRequest
Implements
Inherited Members

Constructors

CreateWorkerRequest(CodeSource, string, string, string?)

Request to create a new worker.

public CreateWorkerRequest(CodeSource CodeSource, string MimeType, string Topic, string? Group)

Parameters

CodeSource CodeSource

The source of the worker's code.

MimeType string

The MIME type of the code.

Topic string

The topic to subscribe to.

Group string

The optional group identifier.

Properties

CodeSource

The source of the worker's code.

public CodeSource CodeSource { get; init; }

Property Value

CodeSource

Group

The optional group identifier.

public string? Group { get; init; }

Property Value

string

MimeType

The MIME type of the code.

public string MimeType { get; init; }

Property Value

string

Topic

The topic to subscribe to.

public string Topic { get; init; }

Property Value

string