Dex.Scheduler
Description: Reference for Dex.Scheduler

### Class

# DexScheduler

#### Description

    abstract class Dex.Scheduler : GObject.TypeInstance {
      /* No available fields */
    }

No description available.

#### Hierarchy

#### Ancestors

- DexObject

#### Descendants

- DexMainScheduler
- DexThreadPoolScheduler

#### Functions

###### dex_scheduler_get_default

Gets the default scheduler for the process.

###### dex_scheduler_get_thread_default

Gets the default scheduler for the thread.

###### dex_scheduler_ref_thread_default

Gets the thread default scheduler with the reference count incremented.

#### Instance methods

###### dex_scheduler_get_main_context

Gets the default main context for a scheduler.

###### dex_scheduler_push

Queues `func` to run on `scheduler`.

###### dex_scheduler_spawn

Request `scheduler` to spawn a `DexFiber`.

##### Methods inherited from DexObject (2)

###### dex_ref

Acquires a reference on the given object, and increases its reference count by one.

###### dex_unref

Releases a reference on the given object, and decreases its reference count by one.