This adds optional query options that callers can set and also cancellation token support. I tried my best to prevent any performance impact from these changes and I think the numbers turned out OK.
Suggest and Check methods now accept an optional QueryOptions argument
Options such as MaxSuggestions and TimeLimitSuggestGlobal which should help some with #40 .
A CancellationToken can be provided that should mostly be respected. Hopefully that helps a little bit with #43 .
The async file load methods now accept cancellation tokens.
This adds optional query options that callers can set and also cancellation token support. I tried my best to prevent any performance impact from these changes and I think the numbers turned out OK.
QueryOptions
argumentMaxSuggestions
andTimeLimitSuggestGlobal
which should help some with #40 .CancellationToken
can be provided that should mostly be respected. Hopefully that helps a little bit with #43 .async
file load methods now accept cancellation tokens.