Click or drag to resize

IFulltextSessionFlushChangesAsync Method (CancellationToken)

Asynchronously flushes all pending changes, i.e. all changes made via Save and Delete since the start of the session or since the last call to FlushChanges. All statements are executed within one transaction.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
Task FlushChangesAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.

Return Value

Type: Task
A task representing the asynchronous operation.
Exceptions
ExceptionCondition
ObjectDisposedExceptionOccurs when the session has already been disposed.
FulltextExceptionOccurs when there is an error during the execution of the queries.
See Also