Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/redis/mod.ts>XIdInput

πŸ¦• Redis client for Deno πŸ•
Very Popular
Latest
type alias XIdInput
import { type XIdInput } from "https://deno.land/x/redis@v0.34.0/mod.ts";

Flexible input type for commands which require message ID to be passed (represented in lower-level Redis API as "1000-0" etc).

We also include an array format for ease of use, where the first element is the epochMillis, second is seqNo.

We also allow passing a single number, which will represent the the epoch Millis with seqNo of zero. (Especially useful is to pass 0.)

definition:
| XId
| [number, number]
| number
| string