vibe.d beta banner
get vibe.d
0.7.30

Class RedisSubscriberImpl

Inherits from

  • Object (base class)

Constructors

Name Description
this

Properties

Name Type Description
isListening [get] bool
subscriptions [get] string[] Get a list of channels with active subscriptions

Methods

Name Description
blisten
bstop Stop listening and yield until the operation is complete.
hasSubscription
listen Waits for messages and calls the callback with the channel and the message as arguments.
psubscribe Same as subscribe, but uses glob patterns, and does not return instantly if
punsubscribe Same as unsubscribe, but uses glob patterns, and does not return instantly if
stop Stop listening asynchroneously
subscribe Completes the subscription for a listener to start receiving pubsub messages
unsubscribe Unsubscribes from the channel(s) specified, returns immediately if none
Authors

Jan Krüger, Sönke Ludwig, Michael Eisendle, Etienne Cimon

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.