Skip to content

Sample code to use Redis search and async generators to return results of queries.

Notifications You must be signed in to change notification settings

redis-developer/async-generators-search

 
 

Repository files navigation

TypeScript, async generators, and Redis search

The repository has some sample code showing you have to use async generators in combination with Redis search.

Getting Started

This is pretty easy. Just follow these steps:

  1. Clone this repository.
  2. Make sure you have an instance of Redis Stack running locally on port 6379. If you have it somewhere else, edit the code in main.ts to point to where your Redis is. The comments will guide you. If you don't have it, get it now.
  3. Run npm install to install all the dependencies.
  4. Run npm run test and watch the unit tests pass.

Once you're there, take a look at the code and learn from it. Again, the comments will guide you.

About

Sample code to use Redis search and async generators to return results of queries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.9%
  • JavaScript 4.1%