Skip to content

Schematics - visit function performance #20079

Open
@Brocco

Description

@Brocco

🚀 Feature request

Command (mark with an x)

  • schematics

Description

The tree and directory in schematics allow you to visit each file in that tree/dir, and the handler function runs on each file in series which can be time consuming.

Describe the solution you'd like

Implement a concurrent version of visit that would allow multiple files to be processed at the same time. This solution can be done in addition to visit via visitConcurrent or visitAsync.

The number of concurrent handlers would be handled via an argument and therefore controlled by the consumer.

Also this would likely be handled via RxJS so an observable should be returned by the new visit____ function.

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions