get_default


Description:

public static unowned Scheduler get_default ()

Gets the default thread pool scheduler for the instance.

This function is useful to allow programs and libraries to share an off-main-thread scheduler without having to coordinate on where the scheduler instance is created or owned.

Returns:

a [class@Dex.Scheduler]