microsoft / microsoft/agent-framework

.NET: [Feature]: Expose CreateTimer in workflows

Open
#6,537 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

.NET
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.