Asynchronous load of source dependencies
AssigneeApple Inc.
InventorBenoit Marchant
Life of this patent
Estimating the term…
Abstract
Asynchronous loading of source dependencies is disclosed. An indication is received in the course of executing a script that a source file on which a current class or function depends is not available. Execution of remaining portions of the script, if any, that do not depend on the source file, continues, or other processing tasks are performed if no such portions remain, while the source file is loaded asynchronously.
Claims20
A method of loading source files, comprising:
- receiving, in the course of executing a script, an indication that a source file on which a current class or function depends is not available;
- and
- continuing execution of remaining portions of the script, if any, that do not depend on the source file, or continuing on to other processing tasks if no such portions remain, while the source file is loaded asynchronously.
A client computer system, comprising:
- a communication interface;
- and
- a processor coupled to the communication interface and configured to:
- receive, in the course of executing a script, an indication that a source file on which a current class or function depends is not available;
- and
- continue execution of remaining portions of the script, if any, that do not depend on the source file, or continuing on to other processing tasks if no such portions remain, while the source file is loaded asynchronously from a server via the communication interface.
A computer program product for loading source files, the computer program product being embodied on a computer readable medium and comprising computer instructions for:
- receiving, in the course of executing a script, an indication that a source file on which a current class or function depends is not available;
- and
- continuing execution of remaining portions of the script, if any, that do not depend on the source file, or continuing on to other processing tasks if no such portions remain, while the source file is loaded asynchronously.
Dependencies are inferred from the claim text.