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)
xconsumer_stop
(
+Leave
)
May be called from a consumer listener to stop the consumer. This predicate throws the exception
redis(stop(Leave))
, which is caught by
xlisten_group/5
.