SignalconnectSignalconnect_SignalemitStaticget_StaticnewGets the default main context for a scheduler.
This may be a different value depending on the calling thread.
For example, calling this on the DexThreadPoolScheduer from outside
a worker thread may result in getting a shared GLib.MainContext for the
process.
However, calling from a worker thread may give you a GLib.MainContext specifically for that thread.
Request scheduler to spawn a Dex.Fiber.
The fiber will have it's own stack and cooperatively schedules among other fibers sharing the schaeduler.
If stack_size is 0, it will set to a sensible default. Otherwise, it is
rounded up to the nearest page size.
stack size in bytes or 0
a Dex.Future that will resolve or reject when func completes (or it's resulting Dex.Future completes).
Staticget_Staticref_Releases a reference on the given object, and decreases its reference count by one.
If it was the last reference, the resources associated to the instance are freed.
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.