Remove discouraging note on getCompletionCallback use docs.

This commit is contained in:
Aiosa 2023-02-02 17:18:12 +01:00
parent 57486732b1
commit 37d4f62ce9

View File

@ -1704,8 +1704,6 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
* when the asynchronous processing of the image is done. The image will be * when the asynchronous processing of the image is done. The image will be
* marked as entirely loaded when the callback has been called once for each * marked as entirely loaded when the callback has been called once for each
* call to getCompletionCallback. * call to getCompletionCallback.
* Note: if you do not process the tile in asynchronous context
* (timeout, Promises, async, callbacks such as image.onload ...), do not use this function.
*/ */
var fallbackCompletion = getCompletionCallback(); var fallbackCompletion = getCompletionCallback();