The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Use that class for creating streams from array.

VERSION

Version 0.11

SYNOPSIS

  use Async::Stream::FromArray;

  my @domains = qw(
    ucoz.com
    ya.ru
    googl.com
  );

  my $stream = Async::Stream::FromArray->new(@domains);
    

SUBROUTINES/METHODS

new(@array_of_items)

Constructor creates instance of class. Class method gets a list of items which are used for generating stream's items.

  my @domains = qw(
    ucoz.com
    ya.ru
    googl.com
  );
  
  my $stream = Async::Stream::FromArray->new(@urls)

AUTHOR

Kirill Sysoev, <k.sysoev at me.com>

BUGS AND LIMITATIONS

Please report any bugs or feature requests to https://github.com/pestkam/p5-Async-Stream/issues.

SUPPORT

You can find documentation for this module with the perldoc command.

  perldoc Async::Stream::Item

LICENSE AND COPYRIGHT

Copyright 2017 Kirill Sysoev.

This program is free software; you can redistribute it and/or modify it under the terms of the the Artistic License (2.0). You may obtain a copy of the full license at:

http://www.perlfoundation.org/artistic_license_2_0