Dex.Scheduler
Description: Reference for Dex.Scheduler

### Class

# DexScheduler

unstable since: 1

#### Description

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

No description available.

Available since: 1

#### Hierarchy

#### Ancestors

- DexObject

#### Descendants

- DexMainScheduler
- DexThreadPoolScheduler

#### Functions

###### dex_scheduler_get_default

Gets the default scheduler for the process.

unstable since: 1

###### dex_scheduler_get_thread_default

Gets the default scheduler for the thread.

unstable since: 1

###### dex_scheduler_ref_thread_default

Gets the thread default scheduler with the reference count incremented.

unstable since: 1

#### Instance methods

###### dex_scheduler_get_main_context

Gets the default main context for a scheduler.

unstable since: 1

###### dex_scheduler_push

Queues `func` to run on `scheduler`.

unstable since: 1

###### dex_scheduler_spawn

Request `scheduler` to spawn a `DexFiber`.

unstable since: 1

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

###### dex_ref

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

unstable since: 1

###### dex_unref

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

unstable since: 1