method IRedisBackplaneClient.unsubscribe
IRedisBackplaneClient.unsubscribe(channel: string): Promise<unknown>

Unsubscribes from a channel.

Parameters

channel: string

The channel name

Return Type

Promise<unknown>

Usage

import { type IRedisBackplaneClient } from "realtime-backplane-plugin/src/index.ts";