Data::Stream::Bulk::Cat - Concatenated streams


Data-Stream-Bulk documentation  | view source Contained in the Data-Stream-Bulk distribution.

Index


NAME

Top

Data::Stream::Bulk::Cat - Concatenated streams

SYNOPSIS

Top

    use Data::Stream::Bulk::Cat;

    Data::Stream::Bulk::Cat->new(
        streams => [ $s1, $s2, $s3 ],
    );

DESCRIPTION

Top

This stream is a concatenation of several other streams.

METHODS

Top

is_done

Returns true if the list of streams is empty.

next

Returns the next block from the next ready stream.

list_cat

Breaks down the internal list of streams, and delegates list_cat to the first one.

Has the effect of inlining the nested streams into the total concatenation, allowing list_cat in Data::Stream::Bulk::Array to work better.

AUTHOR

Top

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

Top


Data-Stream-Bulk documentation  | view source Contained in the Data-Stream-Bulk distribution.