3 library(redis_streams): Using Redis streams
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
Redis -- a SWI-Prolog client for redis
library(redis_streams): Using Redis streams
xstream_set/3
xadd/4
xlisten/3
xlisten_group/5
xconsumer_stop/1
xhook/2
Availability:
:- use_module(
library(redis_streams)
).
(can be autoloaded)
xstream_set
(
+Redis, +Key, +Option
)
Set an option on for
Key
on
Redis
. Currently supports:
maxlen
(
+Count
)
Make
xadd/4
add a
MAXLEN ~
Count
option to the
XADD
command, capping the length of the stream. See also
Redis
as a message brokering system (
section 1.5
)