Data Fields
_Efl_Future_Cb_Desc Struct Reference

A structure with callbacks to be used by efl_future_cb_from_desc() and efl_future_chain_array() More...

Data Fields

Eina_Value(* success )(Eo *o, const Eina_Value value)
 Called on success (value.type is not EINA_VALUE_TYPE_ERROR). More...
 
Eina_Value(* error )(Eo *o, Eina_Error error)
 Called on error (value.type is EINA_VALUE_TYPE_ERROR). More...
 
void(* free )(Eo *o, const Eina_Future *dead_future)
 Called on all situations to notify future destruction. More...
 
const Eina_Value_Typesuccess_type
 If provided, then success will only be called if the value type matches the given pointer. More...
 
Eina_Future ** storage
 This is used by Eo to cancel pending futures in case an Eo object is deleted. More...
 

Detailed Description

A structure with callbacks to be used by efl_future_cb_from_desc() and efl_future_chain_array()

See also
efl_future_cb_from_desc()
efl_future_chain_array()