Table of Contents

Interface IWorkerRecoveryExecutor

Namespace
Virtufin.WorkManager.Services
Assembly
Virtufin.WorkManager.dll

Abstraction over the WorkManager's recovery entry point. Allows the hosted service to be unit-tested without mocking the sealed WorkManager class.

public interface IWorkerRecoveryExecutor

Methods

RecoverWorkersAsync(CancellationToken)

Recovers all persisted worker assignments: loads code blobs, registers them with the appropriate engine, and (re)subscribes to topics.

Task RecoverWorkersAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task