NotificationProgressToken
API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.
Defined in: notifications.ts:88
Cancellation token exposed to long-running tasks started through the notification progress API.
Properties
Section titled “Properties”isCancellationRequested
Section titled “isCancellationRequested”
readonlyisCancellationRequested:boolean
Defined in: notifications.ts:90
signal
Section titled “signal”
readonlysignal:AbortSignal
Defined in: notifications.ts:89
Methods
Section titled “Methods”throwIfCancellationRequested()
Section titled “throwIfCancellationRequested()”throwIfCancellationRequested():
void
Defined in: notifications.ts:91
Returns
Section titled “Returns”void