Did you know ...
Search Documentation:
Predicate redis_subscribe/2
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
ext
redis
redis.pl -- Redis client
redis_server/3
redis_connect/1
redis_connect/3
tls_verify/5
sentinel_slave/4
redis_disconnect/1
redis_disconnect/2
redis/2
redis/3
redis/1
redis_write/2
redis_read/2
redis_get_list/3
redis_get_list/4
redis_set_list/3
redis_get_hash/3
redis_set_hash/3
redis_array_dict/3
redis_scan/3
redis_sscan/4
redis_hscan/4
redis_zscan/4
redis_current_command/2
redis_current_command/3
redis_property/2
redis_subscribe/4
redis_subscribe/2
redis_unsubscribe/2
redis_current_subscription/2
redis_streams.pl -- Using Redis streams
redis_subscribe
(+Id, +Channels)
is
det
redis_unsubscribe
(+Id, +Channels)
is
det
Add/remove channels from for the subscription. If no subscriptions remain, the listening thread terminates.
Arguments:
Channels
- is either a single channel or a list thereof. Each channel specification is either an atom or a term `A:B:...`, where all parts are atoms.