21.104. 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

21.104.1. Implements

IHealthCheckProvider

21.104.2. Methods

21.104.2.1. Init(CancellationToken)

Executes an initialization process for the class

Task Init(CancellationToken cancellationToken)

21.104.2.1.1. Parameters

cancellationToken CancellationToken

Token used to cancel the execution of the method

21.104.2.1.2. Returns

Task

Task representing the asynchronous execution of the method