[ Version ( since = "2.28" ) ]
public void invoke_full (int priority, owned SourceFunc function)
Invokes a function in such a way that this is owned during the invocation of function.
This function is the same as [method@GLib.MainContext.invoke] except that it lets you specify the priority in case function
ends up being scheduled as an idle and also lets you give a [callback@GLib.DestroyNotify] for data.
The notify function should not assume that it is called from any particular thread or with any particular context acquired.
| this |
a main context, or `NULL` for the global-default main context |
| priority |
the priority at which to run |
| function |
function to call |
| data |
data to pass to |
| notify |
a function to call when |