<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>node js on ankit bahuguna</title>
    <link>https://ankitbahuguna.xyz/tags/node-js/</link>
    <description>Recent content in node js on ankit bahuguna</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Tue, 20 Jul 2021 20:12:06 +0530</lastBuildDate>
    <atom:link href="https://ankitbahuguna.xyz/tags/node-js/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Async Generators</title>
      <link>https://ankitbahuguna.xyz/posts/using-async-generators-in-node-js/</link>
      <pubDate>Tue, 20 Jul 2021 20:12:06 +0530</pubDate>
      <guid>https://ankitbahuguna.xyz/posts/using-async-generators-in-node-js/</guid>
      <description>So I recently put Javascript generator functions to a good use.
I needed to retrieve all the users from Cognito and then filter them out based on the value of a custom attribute. The Cognito only returns a maximum of 60 users in a single call and a PaginationToken if there are more users. The PaginationToken can then be used to retrieve more users.
So this is the solution I came up with.</description>
    </item>
  </channel>
</rss>
