Table of Contents

Interface IAsyncInitializable

Namespace
Orleans.GpuBridge.Abstractions.Kernels
Assembly
Orleans.GpuBridge.Abstractions.dll

Interface for kernels that support asynchronous initialization

public interface IAsyncInitializable

Methods

InitializeAsync(CancellationToken)

Asynchronously initializes the kernel with optional cancellation support

Task InitializeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Cancellation token to observe

Returns

Task

A task representing the initialization operation