Function registerAsynchronouslyLoadingLibraryPromise

  • Register a promise which will be resolved when a third party library has finished loading (and is required to load before launching the game).

    This method must be called by any library that loads asynchronously.

    Parameters

    • promise: Promise<any>

    Returns void