Table of Contents

Property CancellationToken

Namespace
Velvet
Assembly
Velvet.Docs.dll

CancellationToken

The token the call's mutation function receives. Nothing but the caller cancels it: unmounting the component, a newer call and Reset() leave a call running, as TanStack Query v5's mutation never cancels. A function that honours a cancelled token ends in the exception, which fails the call like any other.

public CancellationToken CancellationToken { get; init; }

Property Value

CancellationToken