Skip to content

Async-Streams: GetAsyncEnumerator should produce new instances when needed #30275

@jcouv

Description

@jcouv

Using similar logic as regular async methods (ie. checking the state and the threadID), we can decide whether the current state machine can be used or re-used, or if we need to instantiate/initialize a new one.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions