Re: [E-devel] [YAPT] Chaining promises

2016-10-30 Thread Gustavo Sverzut Barbieri
Hi all, I just remembered about this thread after recent email by raster. What jpeg points out is that it's strange, because it IS strange and thus not right -- unlike Cedric said. When you fulfill a promise (ie: feed a value to Future, delivered via the callback specified in efl_future_then()),

Re: [E-devel] [YAPT] Chaining promises

2016-09-30 Thread Cedric BAIL
Hi, Le 30 sept. 2016 07:51, "Jean-Philippe André" a écrit : > Here's a question about promise chaining. C being what it is, it's harder > to define a series like p.then().then() than it is in JS. And I can't find > any good example in EFL code. > > Let's consider an abstract chain that I'll defin

[E-devel] [YAPT] Chaining promises

2016-09-29 Thread Jean-Philippe André
Hi, Here's a question about promise chaining. C being what it is, it's harder to define a series like p.then().then() than it is in JS. And I can't find any good example in EFL code. Let's consider an abstract chain that I'll define as "download, unzip, show". (eg. download a zip file, unzip it