Page MenuHomePhabricator

efl_mono: Start generating eina future in eolian_mono.
ClosedPublic

Authored by lauromoura on May 16 2018, 4:59 PM.

Details

Summary

Besides the normal methods returning Futures, we now generate
a wrapper with the "Async" suffix. This wrapper returns a
Systems.Threading.Tasks.Task which can be awaited on and reflect the
status of the Future.

When an eina.Future fails with ECANCELED, TaskCanceledException is
raised in the Task. Otherwise, an efl.FutureException(eina.Error) is
raised.
Depends on D6174

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
lauromoura created this revision.May 16 2018, 4:59 PM
lauromoura requested review of this revision.May 16 2018, 4:59 PM
felipealmeida accepted this revision.May 17 2018, 11:38 AM
This revision is now accepted and ready to land.May 17 2018, 11:38 AM
This revision was automatically updated to reflect the committed changes.