Skip to main content
Module

x/upstash_redis/pkg/script.ts>Script#exec

HTTP based Redis Client for Serverless and Edge Functions
Extremely Popular
Go to Latest
method Script.prototype.exec
import { Script } from "https://deno.land/x/upstash_redis@v1.12.0-next.1/pkg/script.ts";

Optimistically try to run EVALSHA first. If the script is not loaded in redis, it will fall back and try again with EVAL.

Following calls will be able to use the cached script

Parameters

keys: string[]
args: string[]

Returns

Promise<TResult>