SignalconnectSignalconnect_SignalemitRequest 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).
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.
Staticget_Gets the default scheduler for the process.
The default scheduler executes tasks within the default GLib.MainContext. Typically that is the main thread of the application.
Staticget_Staticref_
Gets the default main context for a scheduler.
This may be a different value depending on the calling thread.
For example, calling this on the
DexThreadPoolScheduerfrom 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.