Table of Contents

Method AcquireAsync

Namespace
Qavren.Edge.Chat
Assembly
Qavren.Edge.Chat.Onnx.dll

AcquireAsync(CancellationToken)

Awaits IEdgeHost.EnsureStartedAsync, verifies provisioning, resolves the budget, loads on first call, and returns the exclusive lease.

ValueTask<ChatModelLease> AcquireAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Cancellation. Never converted into another exception.

Returns

ValueTask<ChatModelLease>

A lease that must be disposed.