async function asyncFilter(arr, cb) {
  const filtered = [];

  for (const element of arr) {
    const needAdd = await cb(element);

    if (needAdd) {
      filtered.push(element);
    }
  }

  return filtered;
}
@type {object}
@const
@namespace listRouter
@category server
@subcategory routes