Dex.async_initable_init
Description: Reference for Dex.async_initable_init

### Function

# Dexasync_initable_init

since: 1.0

#### Declaration [src]

    DexFuture*
    dex_async_initable_init (
      GAsyncInitable* initable,
      int io_priority
    )

#### Description [src]

A helper for `g_async_initable_init_async()`.

Available since: 1.0

#### Parameters

`initable`

  Type: `GAsyncInitable`

  A `GAsyncInitable`.

  The data is owned by the caller of the function.

`io_priority`

  Type: `int`

  The IO priority of the request.

#### Return value

Type: `DexFuture`

A `DexFuture` that resolves to the `initable` instance or rejects with error.

The caller of the function takes ownership of the data, and is responsible for freeing it.