NAME

Ryu::Node - generic node

DESCRIPTION

This is a common base class for all sources, sinks and other related things. It does very little.

METHODS

Not really. There's a constructor, but that's not particularly exciting.

describe

Returns a string describing this node and any parents - typically this will result in a chain like from->combine_latest->count.

completed

Returns a Future indicating completion (or failure) of this stream.

pause

Does nothing useful.

resume

Is about as much use as "pause".

unblocked

Returns a Future representing the current flow control state of this node.

It will be pending if this node is currently paused, otherwise ready.

is_paused

Might return 1 or 0, but is generally meaningless.

new_future

Used internally to get a Future.

AUTHOR

Tom Molesworth <TEAM@cpan.org>

LICENSE

Copyright Tom Molesworth 2011-2024. Licensed under the same terms as Perl itself.