Eina_Future: add eina_future_resolved()
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 26 Aug 2017 22:04:43 +0000 (19:04 -0300)
committerGuilherme Iscaro <iscaro@profusion.mobi>
Mon, 4 Sep 2017 13:24:00 +0000 (10:24 -0300)
commitd258774c2ad108fbb0d59e4f3b513349510669e1
tree8fb7919ffda1da512dec5dd12680a5d5efd515a8
parent3ba9f25cf7ad74986bf77b679041ce2ad6758536
Eina_Future: add eina_future_resolved()

This is a helper that creates a promise, then a future and immediately
resolves the promise, this will let the future be dispatched as usual,
from a clean main loop context.
src/lib/eina/eina_promise.c
src/lib/eina/eina_promise.h