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

30.103.1. Implements

IHealthCheckProvider

30.103.2. Methods

30.103.2.1. Init(CancellationToken)

Executes an initialization process for the class

Task Init(CancellationToken cancellationToken)

30.103.2.1.1. Parameters

cancellationToken CancellationToken

Token used to cancel the execution of the method

30.103.2.1.2. Returns

Task

Task representing the asynchronous execution of the method