[ Version ( since = "2.36" ) ]
public unowned MainContext get_context ()
Gets the MainContext that this will return its result in (that is, the context that was the thread-default main context (see [method@GLib.
MainContext.push_thread_default]) at the point when this was created).
This will always return a non-null value, even if the task's context is the default MainContext.
| this |
a Task |
|
this's MainContext |