microsoft / microsoft/agent-framework
.NET: [Feature]: Expose CreateTimer in workflows
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
### Description
`CreateTimer` is extremely useful in orchestrations and allows to perform operations like polling and waiting for an external resource to complete work.
### Code Sample
Perhaps something like:
```cs
workflow.AddEdge(TimerPort.Create(...)
```
### Language/SDK
.NET
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the .NET workflow API and trace how TimerPort and workflow edges are currently exposed. Check the existing timer-related entry points and determine the smallest public API needed for CreateTimer; done means a .NET workflow can create a timer for polling or waiting and the relevant API behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100