Dex – 1
Description: Reference for Dex-1

### Namespace

# Dex – 1

A GNOME library for deferred execution

Version | 0.2.0
Authors | Christian Hergert
License | LGPL-2.1-or-later
Website | https://gitlab.gnome.org/chergert/libdex/
Source | https://gitlab.gnome.org/chergert/libdex/

#### Build

C headers | `libdex.h`
pkg-config files | ``

#### Dependencies

GLib—2.0 | The base type system library
| Browse documentation
GObject—2.0 | The base type system library
| Browse documentation

#### Additional documentation

- Overview
- Classes Hierarchy

#### Classes

AsyncPair |
AsyncResult |
Block |
Cancellable |
Channel |
Delayed |
Fiber |
Future |
FutureSet |
MainScheduler |
Object |
Promise |
Scheduler |
StaticFuture |
ThreadPoolScheduler |
Timeout |
UnixSignal |

#### Structs

AsyncPairInfo |

#### Enumerations

BlockKind |
FutureStatus |

#### Error Domains

Error |

#### Callbacks

FiberFunc |
FutureCallback | A `DexFutureCallback` can be executed from a `DexBlock` as response to another `DexFuture` resolving or rejecting.
SchedulerFunc |

#### Functions

error_quark |
file_copy | Asynchronously copies a file and returns a `DexFuture` which can be observed for the result.
file_enumerate_children |
file_enumerator_next_files |
file_load_contents_bytes |
file_make_directory | Asynchronously creates a directory and returns `DexFuture` which can be observed for the result.
file_query_info |
file_read | Asynchronously opens a file for reading.
file_replace |
get_min_stack_size |
get_page_size |
init |
input_stream_close |
input_stream_read |
input_stream_read_bytes |
io_stream_close |
output_stream_close |
output_stream_splice |
output_stream_write |
output_stream_write_bytes |
ref |
resolver_lookup_by_name |
socket_client_connect |
socket_listener_accept |
unref |

#### Function Macros

ASYNC_PAIR_INFO_BOOLEAN |
ASYNC_PAIR_INFO_INT |
ASYNC_PAIR_INFO_INT64 |
ASYNC_PAIR_INFO_LONG |
ASYNC_PAIR_INFO_OBJECT |
ASYNC_PAIR_INFO_POINTER |
ASYNC_PAIR_INFO_STRING |
ASYNC_PAIR_INFO_UINT |
ASYNC_PAIR_INFO_UINT64 |
ASYNC_PAIR_INFO_ULONG |
DEPRECATED_FOR |
DEPRECATED_IN_1_0_FOR |
OBJECT_TYPE |
OBJECT_TYPE_NAME |
UNAVAILABLE |