method
RedisClient.setbit
offset: number,
value: 0 | 1
): Promise<number>;
Sets or clears the bit at offset in the string value stored at key
@param key
The key to modify
@param offset
The bit offset (zero-based)
@param value
The bit value to set (0 or 1)
@returns
Promise that resolves with the original bit value stored at offset
Referenced types
type KeyLike = string | ArrayBufferView | Blob