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

Last Updated: 20 June, 2023