NAME

Flux::In::Role::Lag - role for input streams which are aware of their lag

VERSION

version 1.00

DESCRIPTION

Input streams implementing this role can be asked for the amount of data remaining in the stream.

Amount units are implementation-specific. Sometimes it's in bytes, sometimes it's in items.

METHODS

lag()

Get stream's lag.

AUTHOR

Vyacheslav Matyukhin <me@berekuk.ru>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Yandex LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.