setRestartToken Method
Allow to set restart token. If restart token is set then any other query(s) in queue with same token is cancelled if its not already executed.
setRestartToken(val: string): QueryOptionsBuilder
Parameter | Type | Description |
---|---|---|
val | string | A string token identifying a use case in which previous query with same token is cancelled. |
Returns - QueryOptionsBuilder
@type QueryOptionsBuilder for fluent interface.
Defined in
- core/common/src/ConcurrentQuery.ts Line 153
Last Updated: 30 November, 2023