completeInIdle

open fun completeInIdle()

Completes an asynchronous function in an idle handler in the g-main-context-push-thread-default of the thread that @simple was initially created in (and re-pushes that context around the invocation of the callback).

Calling this function takes a reference to @simple for as long as is needed to complete the call.