Home / node / BaseClient / interfaces / DecoderOption @valkey/valkey-glide
@valkey/valkey-glide / BaseClient / DecoderOption
Interface: DecoderOption
An extension to command option types with Decoder.
WARNING:
Be aware that if decoding fails during a command execution (due to invalid inputs, incorrect decoder), data COULD BE UNRECOVERABLY LOST.
Use with caution.
Properties
decoder?
optional
decoder:Decoder
Decoder type which defines how to handle the response. If not set, the default decoder will be used.