17.106. Interface IInitializable

Namespace: ArmoniK.Core.Base
Assembly: ArmoniK.Core.Base.dll

Represents a class initializable through the given method and exposes a health check.

public interface IInitializable : IHealthCheckProvider

17.106.1. Implements

IHealthCheckProvider

17.106.2. Methods

17.106.2.1. Init(CancellationToken)

Executes an initialization process for the class

Task Init(CancellationToken cancellationToken)

17.106.2.1.1. Parameters

cancellationToken CancellationToken

Token used to cancel the execution of the method

17.106.2.1.2. Returns

Task

Task representing the asynchronous execution of the method