NAME

Net::Async::Redis::Subscription - represents one subscription

DESCRIPTION

Instances are generated by the subscription methods such as "subscribe" in Net::Async::Redis and "psubscribe" in Net::Async::Redis.

events

Returns a Ryu::Source representing the messages emitted by this subscription.

cancel

Cancel an existing subscription.

Normally called by Net::Async::Redis itself once the subscription is no longer valid.

redis

Accessor for the Net::Async::Redis instance.

channel

The channel name for this instance.

AUTHOR

Tom Molesworth <TEAM@cpan.org> plus contributors as mentioned in "CONTRIBUTORS" in Net::Async::Redis.

LICENSE

Copyright Tom Molesworth 2015-2022. Licensed under the same terms as Perl itself.