You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An annotation for injecting a dependency lazily (i.e. a prototype of the constructor is passed in, before the constructor is applied to the prototype). This would allow for systems for more efficiently initialize because resources can be referenced and inserted while they are still loading. Although error handling and other problems arise. Example:
An annotation for injecting the promise of a dependency. This would be a more robust but less fancy form of lazy loading, where the promise of a resource that is resolving is passed in, instead of waiting for the promise to resolve and then passing in the result. This would be mostly used for handling parallelization in a form better than lazy loading or for handling errors that would be thrown during instantiation (although there should be an annotation specifically for that). Example:
An annotation (or maybe an alternative @provide-like decorator) for allowing thrown errors to be caught and handled. Although this could probably be replaced by making the Super token wrap the mocked resource.
The text was updated successfully, but these errors were encountered:
After we get a system in place to handle them properly, there is a plan to create annotations and annotation handlers for the following:
@provide
-like decorator) for allowing thrown errors to be caught and handled. Although this could probably be replaced by making theSuper
token wrap the mocked resource.The text was updated successfully, but these errors were encountered: