|From:||Moritz Lenz <moritz [...] faui2k3.org>|
|Date:||Fri, 27 Feb 2015 17:23:36 +0100|
|To:||rakudobug [...] perl.org|
|Subject:||Inconsistent APIs for IO::Socket::Async and Proc::Async|
Both IO::Socket::Async and Proc::Async have the options to get supplies for binary or string data, but there are two inconsitentcies: 1) Proc::Async has methods stdout(:$bin), IO::Socket::Async has chars_supply and bytes_supply. There should be some naming consistency here 2) Proc::Async has live supplies, and requires you to set them up before starting the process. IO::Socket::Async has on-demand supplies that you can get after the fact. In the interest of a smooth asynchronous experience, we should make them more consistent.