Invention Grant
- Patent Title: Compiler-generated asynchronous enumerable object
-
Application No.: US16816521Application Date: 2020-03-12
-
Publication No.: US11922151B2Publication Date: 2024-03-05
- Inventor: Stephen Harris Toub , Mads Torgersen
- Applicant: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Applicant Address: US WA Redmond
- Assignee: Microsoft Technology Licensing, LLC.
- Current Assignee: Microsoft Technology Licensing, LLC.
- Current Assignee Address: US WA Redmond
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F8/41

Abstract:
A single asynchronous enumerable object is generated that contains the data and methods needed to iterate through an enumerable asynchronously. The asynchronous enumerable object contains the code for traversing the enumerable one step at a time and the operations needed to suspend an iteration to await completion of an asynchronous operation and to resume the iteration upon completion of the asynchronous operation. The allocation of a single object to perform all of these tasks reduces the memory consumption needed to execute an asynchronous enumeration.
Public/Granted literature
- US20200210156A1 Compiler-Generated Asynchronous Enumerable Object Public/Granted day:2020-07-02
Information query