consistentWith

fun consistentWith(tokens: MutationState, scanWait: Duration? = null): QueryScanConsistency

Targeted consistency. Waits for specific K/V mutations to be indexed before executing the query.

Sometimes referred to as "At Plus".

Parameters

tokens

the mutations to await before executing the query

scanWait

max time to wait for the indexer to catch up