Skip to content

lspeasy / core/src / CancelledPartialResult

Interface: CancelledPartialResult<TPartial>

Defined in: packages/core/src/protocol/partial-results.ts:2

Structured response when a partial-enabled request is cancelled.

Type Parameters

Type ParameterDefault type
TPartialunknown

Properties

PropertyTypeDescriptionDefined in
cancelledtrueDiscriminant — always true for cancelled results.packages/core/src/protocol/partial-results.ts:4
finalResult?undefinedAlways undefined for cancelled results — no final result was received.packages/core/src/protocol/partial-results.ts:8
partialResultsTPartial[]Partial result batches received before the cancellation occurred.packages/core/src/protocol/partial-results.ts:6

Released under the MIT License.