dispatch

fun dispatch()

Dispatches all pending sources.

You must have successfully acquired the context with method@GLib.MainContext.acquire before you may call this function.

Since 2.76 @context can be null to use the global-default main context.