Skip to content

async generator support #136

Description

@tmokmss

I'd like to get urls one by one for lower RAM consumption.

Something like this using async generator:

  for await (const url of sitemapper.fetch()) {
    console.log(url);
  }

It'll work well in an environment with limited memory (e.g. AWS Lambda)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions