Class PromisePolyfill
Hierarchy
- PromisePolyfill
Index
Methods
Methods
Static ApplySearch playground for Apply
-
Static function used to check if the polyfill is required If this is the case then the function will inject the polyfill to window.Promise
Parameters
-
Optional force: boolean
defines a boolean used to force the injection (mostly for testing purposes)
Returns void
-
Helper class that provides a small promise polyfill