You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently execArrayReply casts its return to Array<T> but because of the change with BulkNil the function does not always return an array but also null. This breaks at least xread when the command return nothing (and likely also xreadgroup).
TypeError: raw is not iterable
at parseXReadReply (https://deno.land/x/[email protected]/stream.ts:255:31)
at https://deno.land/x/[email protected]/redis.ts:1908:21
at async file:///Users/teostocco/Documents/metatype/metatype/repro.ts:13:24
The text was updated successfully, but these errors were encountered:
Currently
execArrayReply
casts its return toArray<T>
but because of the change withBulkNil
the function does not always return an array but also null. This breaks at leastxread
when the command return nothing (and likely alsoxreadgroup
).Example:
Produces:
The text was updated successfully, but these errors were encountered: