Skip to content

.NET Runtime-Async Feature #109632

Open
Open
@agocke

Description

@agocke

Intro

This issue tracks progress on implementing so-called "runtime-async", meaning implementation for async methods directly inside the .NET runtime. This is in contrast to the current support which is implemented only in language compilers, like C#, VB, and F#.

Draft specification: https://github.com/dotnet/runtime/blob/main/docs/design/specs/runtime-async.md

.NET 10

Code complete:

Design issues:

  • Are we going to use an attribute of a MethodImpl flag to identify async methods?
    (Re comment:Add draft of runtime async ECMA-335 changes #104063 (comment))
  • What are restrictions and guarantees for runtime async methods in structs.
  • What, if any, are the stack requirements on calling a method with the async calling convention inside an async method?
  • What do we do for async delegates in general and Func<T> in particular?
  • What to do with Event and Property accessors. Presumably they cannot be async, so what happens if return Task and Async marker is applied?

.NET 11

Metadata

Metadata

Assignees

Labels

EpicGroups multiple user stories. Can be grouped under a theme.area-VM-coreclr

Type

No type

Projects

Status

No status

Status

UserStories + Epics

Relationships

None yet

Development

No branches or pull requests

Issue actions