CompletionDelegate
Represents a completion provider for a route target.
- Kind:
Delegate - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/Autocomplete/CompletionDelegate.cs
Signature
Section titled “Signature”public delegate ValueTask<IReadOnlyList<string>> CompletionDelegate(CompletionContext context, string input, CancellationToken cancellationToken)Parameters
Section titled “Parameters”context(CompletionContext): Completion context.input(string): Current user input.cancellationToken(CancellationToken): Cancellation token.
Returns
Section titled “Returns”ValueTask<IReadOnlyList<string>> - Completion candidates.