forked from enlightenment/efl
While Eina_Coro provides a solid base, to use the main loop to schedule coroutines it needs some manual work we want to avoid. Efl.Loop.coro method will take a function and schedule it using the given priority, the returned value is then resolved in a promise for the returned future. Basically all users must do is write a function that looks like a synchronous code and calls eina_coro_yield() (or helper macros), that will go back to the main loop and then it will reschedule the coroutine to run according to its priority. This should reduce the number of callbacks in user's code. |
||
---|---|---|
.. | ||
ecore_suite.c | ||
ecore_suite.h | ||
ecore_test_animator.c | ||
ecore_test_args.c | ||
ecore_test_ecore.c | ||
ecore_test_ecore_audio.c | ||
ecore_test_ecore_drm.c | ||
ecore_test_ecore_evas.c | ||
ecore_test_ecore_fb.c | ||
ecore_test_ecore_file.c | ||
ecore_test_ecore_imf.c | ||
ecore_test_ecore_input.c | ||
ecore_test_ecore_thread_eina_thread_queue.c | ||
ecore_test_ecore_x.c | ||
ecore_test_job.c | ||
ecore_test_promise.c | ||
ecore_test_promise2.c | ||
ecore_test_timer.c | ||
sample.ogg | ||
sample.wav |