def command

bend-kit-redis@0.3.0.0 · redis.bend:862

import bend-kit-redis@0.3.0.0/redis.bend as Redis
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

862# One command and its reply, for example command(c, args(["SET", "k", "v"])).
863def command(c: Conn, argv: List<&1, Bytes.Bytes>) -> IO(Result<&1, &1, Failure, Conn & Val>):
864  do IO<Result<&1, &1, Failure, Conn & Val>>:
865    r : Result<&1, &1, Failure, Conn> <- send(c, encode.command(argv))
866    command.sent(r)

Uses (12)

Used by (3)