Top Description Methods
org.eclipse.lsp4j

public Interface PartialResultParams

Known Direct Implementers
org.eclipse.lsp4j.TextDocumentPositionAndWorkDoneProgressAndPartialResultParams, org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
Annotations
@SuppressWarnings:all
Imports
org.eclipse.lsp4j.jsonrpc.messages.Either

A parameter literal used to pass a partial result token.

Since 3.15.0

Method Summary

Modifier and TypeMethod and Description
public Either<String, Integer>
getPartialResultToken()

An optional token that a server can use to report partial results (e.g. streaming) to the client.

public void
setPartialResultToken(final Either<String, Integer> token)

An optional token that a server can use to report partial results (e.g. streaming) to the client.

Method Detail

getPartialResultTokenback to summary
public Either<String, Integer> getPartialResultToken()

An optional token that a server can use to report partial results (e.g. streaming) to the client.

setPartialResultTokenback to summary
public void setPartialResultToken(final Either<String, Integer> token)

An optional token that a server can use to report partial results (e.g. streaming) to the client.