Description

This event is triggered whenever a future is fully set to receive all events and the user holds no more references to it.

Signature

future,set: free(future<void_ptr>, efl_del);

C information

C usage

static void
on_efl_promise_event_future_set(void *data, const Efl_Event *event)
{
    Efl_Future *info = event->info;
    Eo *obj = event->object;
    Data *d = data;
 
    /* event hander code */
}
 
static void
setup_event_handler(Eo *obj, Data *d)
{
    efl_event_callback_add(obj, EFL_PROMISE_EVENT_FUTURE_SET, on_efl_promise_event_future_set, d);
}