Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Redis.S_hash
Sourceval create :
?on_disconnect:(unit -> unit) ->
where_to_connect:[< Async.Socket.Address.t ] Async.Tcp.Where_to_connect.t ->
unit ->
t Async.Deferred.Or_error.t
Redis commands are documented at: https://redis.io/commands
val scan :
t ->
cursor:int ->
?count:int ->
unit ->
([ `Cursor of int ] * Key.t list) Async.Deferred.Or_error.t
val client_tracking :
t ->
?bcast:bool ->
unit ->
[ `All | `Key of Key.t ] Async.Pipe.Reader.t Async.Deferred.Or_error.t
Turn on Redis client tracking and provide a pipe of invalidation messages received from the server. Closing the pipe turns tracking off.
The NOLOOP option is used, which means that subscribers will not see invalidation messages caused by themselves, unless it is from the flushdb / flushall command.
Read here for more on usage: https://redis.io/commands/client-tracking https://redis.io/topics/client-side-caching