Stores the latest document, position, and request context.

  • Parameters

    • document: TextDocument

      The active text document.

    • position: Position

      The cursor position within the document.

    • context: InlineCompletionContext

      Inline suggestion request context.

    • token: CancellationToken

      Cancellation token for the request.

    Returns void