=encoding utf8
=for comment POD_DERIVED_INDEX_GENERATED
The following documentation is automatically generated. Please do not edit
this file, but rather the original, inline with Ryu::Sink
at lib/Ryu/Sink.pm
(on the system that originally ran this).
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.
=cut
=head1 NAME
Ryu::Sink - base representation for a thing that receives events
=head1 DESCRIPTION
This is currently of limited utility.
my $src = Ryu::Source->new;
my $sink = Ryu::Sink->new;
$sink->from($src);
$sink->source->say;
=head1 METHODS
=head2 from
Given a source, will attach it as the input for this sink.
=head1 INHERITED METHODS
=over 4
=item L<Ryu::Node>
L<completed|Ryu::Node/completed>, L<describe|Ryu::Node/describe>, L<flow_control|Ryu::Node/flow_control>, L<is_paused|Ryu::Node/is_paused>, L<label|Ryu::Node/label>, L<new_future|Ryu::Node/new_future>, L<parent|Ryu::Node/parent>, L<pause|Ryu::Node/pause>, L<resume|Ryu::Node/resume>, L<unblocked|Ryu::Node/unblocked>
=back
=head1 AUTHOR
Tom Molesworth <TEAM@cpan.org>
=head1 LICENSE
Copyright Tom Molesworth 2011-2023. Licensed under the same terms as Perl itself.