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
Return value: String, the element being popped from source and pushed to destination. If timeout is reached, nil is returned
Once timeout is reached, I am getting this error:
Exception: cast from Array(Redis::RedisValue) to (String | Nil) failed, at /dev/lib/redis/src/redis/command_execution/value_oriented.cr:37:9:37 (TypeCastError)
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
parruda
changed the title
ast from Array(Redis::RedisValue) to (String | Nil) failed
Cast from Array(Redis::RedisValue) to (String | Nil) failed when using brpoplpush
Sep 24, 2018
Forgive me if that's just because I am just learning Crystal, but I am stuck on this.
I am trying to pop something from a queue with:
The docs say:
Once timeout is reached, I am getting this error:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: