blpop method

Future<List<String?>> blpop(
  1. List<String> keys,
  2. int timeout
)

Implementation

Future<List<String?>> blpop(List<String> keys, int timeout) async {
  final result = (await tier1.blpop(keys, timeout)).toArray().payload;
  if (result != null) {
    return result.map((e) => e.toBulkString().payload).toList(growable: false);
  }
  return [];
}