Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PromisePolyfill

Helper class that provides a small promise polyfill

Hierarchy

  • PromisePolyfill

Index

Methods

Methods

Static ApplySearch playground for Apply

  • Apply(force?: boolean): void
  • 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

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method