• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/usr/lib/swipl/library/ext/redis/redis_streams.pl
All Application Manual Name SummaryHelp

  • ext
    • redis
      • redis.pl -- Redis client
      • redis_streams.pl -- Using Redis streams
        • xstream_set/3
        • xadd/4
        • xlisten/3
        • xlisten_group/5
        • xconsumer_stop/1
        • xhook/2
 xadd(+Redis, +Key, ?Id, +Data:dict) is det
Add a message to a the stream Key on Redis. The length of the stream can be capped using the xstream_set/3 option maxlen(Count). If Id is unbound, generating the id is left to the server and Id is unified with the returned id. The returned id is a string consisting of the time stamp in milliseconds and a sequence number. See Redis docs for details.
ClioPatria (version V3.1.1-51-ga0b30a5)