populate_async


Description:

public abstract async ListModel populate_async (CompletionContext context, Cancellable? cancellable) throws Error

Asynchronously requests that the provider populates the completion results for context.

For providers that would like to populate a [[email protected]] while those results are displayed to the user, [ [email protected]_proposals_for_provider] may be used to reduce latency until the user sees results.

Parameters:

this

a CompletionProvider

context

a CompletionContext

cancellable

a Cancellable or null

callback

a callback to execute upon completion

user_data

closure data for callback




2022 vala-language.org