100% interface compatibility
Opened this issue · 7 comments
Look for a way to make this 100% compatible with Guzzle. Thus making it possible to use it with the next major AWS SDK version.
This won't be usable with the current aws sdk since this is using guzzle 4, and the aws sdk is using guzzle 3 currently.
There is an issue on the ASK SDK to build the next major version on Guzzle 4: aws/aws-sdk-php#311
Oh, i missread your op. I didn't see the "next" part...
No you didn't :). I've added it after your comment to clarify it 👍
Found this today, putting it up here for reference: https://github.com/rdlowrey/After/blob/master/lib/Future.php#L92-L94 It could be the key to do this.
Interesting read: https://bitbucket.org/mkjpryor/async/wiki/Home this could be a better way to do it then my comment from Aug 22 as there are some issues with that. (See https://gist.github.com/mtdowling/47da5eab54337cdc7ecc for more information on that.)
The source post of Recoil and mkjpryor/async: http://nikic.github.io/2012/12/22/Cooperative-multitasking-using-coroutines-in-PHP.html