Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/upstash_redis/pkg/util.ts>deserializeScanResponse

HTTP based Redis Client for Serverless and Edge Functions
Extremely Popular
Latest
function deserializeScanResponse
import { deserializeScanResponse } from "https://deno.land/x/upstash_redis@v1.34.3/pkg/util.ts";

Deserializes a scan result, excluding the cursor which can be string "0" or a big number string. Either way, we want it to stay as a string.

Parameters

result: [string, ...any]