Table of Contents

Class WorkerInfo

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

Information about a worker instance.

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

Constructors

WorkerInfo(Guid, string, string, string, string?, DateTime, WorkerStatus)

Information about a worker instance.

public WorkerInfo(Guid Id, string MimeType, string Language, string Topic, string? Group, DateTime CreatedAt, WorkerStatus Status)

Parameters

Id Guid

The unique identifier.

MimeType string

The MIME type of the code.

Language string

The programming language.

Topic string

The topic to subscribe to.

Group string

The optional group identifier.

CreatedAt DateTime

The creation timestamp.

Status WorkerStatus

The current status.

Properties

CreatedAt

The creation timestamp.

public DateTime CreatedAt { get; init; }

Property Value

DateTime

Group

The optional group identifier.

public string? Group { get; init; }

Property Value

string

Id

The unique identifier.

public Guid Id { get; init; }

Property Value

Guid

Language

The programming language.

public string Language { get; init; }

Property Value

string

MimeType

The MIME type of the code.

public string MimeType { get; init; }

Property Value

string

Status

The current status.

public WorkerStatus Status { get; init; }

Property Value

WorkerStatus

Topic

The topic to subscribe to.

public string Topic { get; init; }

Property Value

string