UNPKG

429 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.RedisContext = void 0;
4const base_rpc_context_1 = require("./base-rpc.context");
5class RedisContext extends base_rpc_context_1.BaseRpcContext {
6 constructor(args) {
7 super(args);
8 }
9 /**
10 * Returns the name of the channel.
11 */
12 getChannel() {
13 return this.args[0];
14 }
15}
16exports.RedisContext = RedisContext;