Show / Hide Table of Contents

Interface ISupportJobPreparation

Optional interface to be implemented by a worker. If implemented, the worker host will invoke the PrepareJobAsync(IWorkerExecutionStatusNotificationService, IWorkUnit) method when the job preparation task is run.

Namespace: DNVGL.One.Compute.Core.Worker
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface ISupportJobPreparation

Methods

View Source

PrepareJobAsync(IWorkerExecutionStatusNotificationService, IWorkUnit)

Prepares the job.

Declaration
Task<object> PrepareJobAsync(IWorkerExecutionStatusNotificationService workerExecutionStatusNotificationService, IWorkUnit workUnit)
Parameters
Type Name Description
IWorkerExecutionStatusNotificationService workerExecutionStatusNotificationService

The worker execution status notification service.

IWorkUnit workUnit

The work unit.

Returns
Type Description
Task<System.Object>

Preparation result.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.