Dex.Future.new_take_string
Description: Reference for Dex.Future.new_take_string

### Constructor

# Dex Futurenew_take_string

#### Declaration [src]

    DexFuture*
    dex_future_new_take_string (
      char* string
    )

#### Description [src]

Creates a new `DexFuture` and resolves it with `string`.

#### Parameters

`string`

  Type: `char*`

  The resolved value for the future.

  The called function takes ownership of the data, and is responsible for freeing it.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `DexFuture`

A resolved `DexFuture`.

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