Patent ID: 11922151
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A system, comprising:
at least one processor coupled to a memory; and
a compiler that
creates a class to execute an asynchronous enumeration, the class including an asynchronous enumerable and operations needed to iterate through the asynchronous enumerable, the operations including suspending execution of an iteration at a suspension point to await completion of an asynchronous operation and resuming execution of the iteration at a resumption point upon completion of the asynchronous operation, and
produces a first set of instructions that allocate a single asynchronous enumerable object based on the class at runtime for the asynchronous enumerable and a second set of instructions that enumerate the asynchronous enumerable utilizing the single asynchronous enumerable object.