forward_async


Description:

[ Version ( since = "3.10" ) ]
public async bool forward_async (TextIter iter, Cancellable? cancellable, out TextIter match_start, out TextIter match_end) throws Error

The asynchronous version of forward2.

See the documentation of forward2 for more details.

See the AsyncResult documentation to know how to use this function.

If the operation is cancelled, the callback will only be called if cancellable was not null. forward_async takes ownership of cancellable, so you can unref it after calling this function.

Parameters:

this

a SourceSearchContext.

iter

start of search.

cancellable

a Cancellable, or null.

callback

a TaskReadyCallback to call when the operation is finished.

user_data

the data to pass to the callback function.