Documentation
Table of Contents

Method GetHeldAsync

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

GetHeldAsync(string, CancellationToken)

The specialist held for the intent, or null when none is held.

public Task<HeldSpecialist?> GetHeldAsync(string name, CancellationToken cancellationToken = default)

Parameters

name string

The intent's name.

cancellationToken CancellationToken

Cancels the call.

Returns

Task<HeldSpecialist>

Exceptions

ArgumentException

name is null, empty or white space.