gurmitteotia / gurmitteotia/guflow

Support ParallelForEach api for scheduling workflow items

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Examples:
```cs
public class TranscodeWorkflow : Workflow
{
public TranscodeWorkflow()
{
ScheduleActivity();
ParallelForEach(_=>new {"MPEG", "WAV"}).ScheduleActivity()
.WithInput(i=>new {Path =p.ParentResult().Path, Format= i.Key})
.AfterActivity()
}
}
```

```cs
public class ProcessImagesWorkflow : Workflow
{
public TranscodeWorkflow()
{
ScheduleActivity();
ParallelForEach(a=>a.ParentResult().Images, limit=10).ScheduleActivity()
.WithInput(i=>new {Path =i.Key})
.AfterActivity()
}
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the two ParallelForEach examples in the issue alongside the existing workflow scheduling API. Define how collection results, item inputs, and the optional concurrency limit should behave; done means both shown workflow patterns are supported and can schedule their activities as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, csharp
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.