Skip to content

lspeasy / core/src / createPartialResultParams

Function: createPartialResultParams()

ts
function createPartialResultParams(token): PartialResultParams;

Defined in: packages/core/src/protocol/partial.ts:26

Creates PartialResultParams with the given partial result token.

Parameters

ParameterTypeDescription
tokenProgressTokenThe progress token the client will use to correlate $/progress notifications.

Returns

PartialResultParams

A PartialResultParams object with partialResultToken set.

Released under the MIT License.