function loadRedisModule
Since 0.2.0
loadRedisModule(): Promise<IRedisModule>

Lazily imports ioredis.

Performs a real import('npm:ioredis@5.x'); the driver is resolved by the runtime at call time and is not part of this package's dependency graph.

Return Type

Promise<IRedisModule>

The adapted module facade

Throws

RedisModuleError

When the driver is absent or unrecognizable

Usage

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