HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulehedis-0.16.4Haskell2010

Database.Redis.ManualCommands.Wait

  • 1 type
  • 2 values
  • Packagehedis-0.16.4
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceWait.hs
datadata WaitAofResult
#

Constructors

Instances3Eq, Show, RedisResult
valuewait
  1. :: RedisCtx m f
  2. => Integer

    Number of replicas to wait for.

  3. -> Integer

    Maximum time to wait in milliseconds. 0 means wait forever.

  4. -> m (f Integer)
#

O(1) Wait for preceding writes to be acknowledged by a given number of replicas (https://redis.io/commands/wait).

Blocks until the asynchronous replication of all preceding write commands sent by the connection is completed.

Since Redis 3.0.0

valuewaitaof
  1. :: RedisCtx m f
  2. => Integer

    Number of local Redis instances to wait for AOF fsync on (0 or 1).

  3. -> Integer

    Number of replicas to wait for AOF fsync on.

  4. -> Integer

    Maximum time to wait in milliseconds. 0 means wait forever.

  5. -> m (f WaitAofResult)
#

O(1) Wait for preceding writes to be fsynced to the append-only file locally and/or on replicas (https://redis.io/commands/waitaof).

Blocks until all of the preceding write commands sent by the connection are written to the append-only file of the master and/or replicas.

Since Redis 7.2.0