Skip to main content
Module

x/upstash_redis/pkg/pipeline.ts>Pipeline#chain

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

Pushes a command into the pipeline and returns a chainable instance of the pipeline

Parameters

command: Command<any, T>

Returns

Pipeline<[...TCommands, Command<any, T>]>