Patent ID: 11861420
Assignee: CLOUDFLARE, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. A non-transitory machine-readable storage medium that provides instructions that, when executed by a processor, causes said processor to perform operations comprising:
receiving, at a first piece of code that controls events into a program, an event that is for the program, wherein the program is implemented with an asynchronous event-loop;
determining that there is a pending storage operation triggered by the program, and responsive to this determination, preventing the event from being delivered to the program for execution until the pending storage operation has successfully completed;
determining that the pending storage operation has successfully completed, and responsive to this determination, delivering the event to the program for execution;
receiving, at the program from the first piece of code, the event; and
processing the event at the program.