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
namestringThe intent's name.
cancellationTokenCancellationTokenCancels the call.
Returns
- Task<HeldSpecialist>
Exceptions
- ArgumentException
nameis null, empty or white space.