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

22.100.1. Implements

IHealthCheckProvider

22.100.2. Methods

22.100.2.1. Init(CancellationToken)

Executes an initialization process for the class

Task Init(CancellationToken cancellationToken)

22.100.2.1.1. Parameters

cancellationToken CancellationToken

Token used to cancel the execution of the method

22.100.2.1.2. Returns

Task

Task representing the asynchronous execution of the method