populateAsync

open fun populateAsync(context: CompletionContext, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>)

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

For providers that would like to populate a iface@Gio.ListModel while those results are displayed to the user, method@CompletionContext.set_proposals_for_provider may be used to reduce latency until the user sees results.

Parameters

context

a #GtkSourceCompletionContext

cancellable

a #GCancellable or null

callback

a callback to execute upon completion