Schedule given function to be run in our ThreadPool The given priority influences execution-time of the task depending on the currently scheduled amount of tasks.
AsyncReadyCallback will be executed on the main-thread through an idle with GLib.Priority.HIGH_IDLE.
the function to be executed returning a typed result
priority of the given function
the typed result