Narrows an ioredis module to the constructor facade this package uses.
ioredis
Pure and synchronous, so the transport's construction path is unit-testable with a fake module and never needs the real driver installed.
The module to adapt, typically import('ioredis')
import('ioredis')
A facade whose create builds a client, forwarding the transport's client options (the command timeout) to the constructor
create
When the module exposes no constructor
0.2.0
Narrows an
ioredismodule to the constructor facade this package uses.Pure and synchronous, so the transport's construction path is unit-testable with a fake module and never needs the real driver installed.