Skip to main content
Module

x/redis/pipeline.ts>PipelineExecutor

🦕 Redis client for Deno 🍕
Very Popular
Go to Latest
class PipelineExecutor
implements CommandExecutor
import { PipelineExecutor } from "https://deno.land/x/redis@v0.29.2/pipeline.ts";

Constructors

new
PipelineExecutor(connection: Connection, tx: boolean)

Properties

private
commands: { command: string; args: RedisValue[]; }[]
private
queue: { commands: { command: string; args: RedisValue[]; }[]; d: Deferred<RawOrError[]>; }[]

Methods

private
dequeue(): void
close(): void
exec(command: string, ...args: RedisValue[]): Promise<RedisReply>
flush(): Promise<RawOrError[]>