Values

  • v - The pointer to the value.
  • free_cb - The function to call to free the value.

Description

This function can be called only once. You cannot call #failed.set after doing so. The value will be owned by the promise until it's destroyed. It will be cleaned when the promise and all futures depending on it are destroyed.


Signature

@property value {
    set {}
}

C signature

void efl_promise_value_set(Eo *obj, void *v, Eina_Free_Cb free_cb);

Implemented by

  • Efl.Promise.value