Future-Buffer
view release on metacpan or search on metacpan
* An "on-read" event, taking maybe inspiration from
IO::Async::Stream. This would allow both pull- and push-based
consumers.
* Size limitation. Allow an upper bound of stored data, make write
calls return pending futures until buffer can accept it. Needs
consideration of unbounded read_until though.
* Consider extensions of the "read_unpacked" method to handle more
situations. This may require building a shared CPAN module for doing
streaming-unpack along with IO::Handle::Packable and other
situations.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
Inspired by Ryu::Buffer by Tom Molesworth <TEAM@cpan.org>
lib/Future/Buffer.pm view on Meta::CPAN
=item *
Size limitation. Allow an upper bound of stored data, make C<write> calls
return pending futures until buffer can accept it. Needs consideration of
unbounded C<read_until> though.
=item *
Consider extensions of the L</read_unpacked> method to handle more situations.
This may require building a shared CPAN module for doing streaming-unpack
along with C<IO::Handle::Packable> and other situations.
=back
=head1 AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
Inspired by L<Ryu::Buffer> by Tom Molesworth <TEAM@cpan.org>
( run in 0.250 second using v1.01-cache-2.11-cpan-4d50c553e7e )