The first argument is the desired length of the new list, and the second argument is an initializer function, which generates items in the list.
Le premier paramètre est la longueur désirée de la nouvelle liste, et le second argument est une fonction d'initialisation, qui génère les objets dans la liste.
The initializer function srand48() sets the high order 32-bits of Xi to the argument seedval.
La fonction d'initialisation srand48() place l'argument seedval dans les 32 bits de poids fort de Xi.
This allows you to concentrate on the core operation that the promise represents, which is embodied in the initializer function.
Vous pouvez ainsi vous concentrer sur l'opération centrale représentée par la promesse, qui prend la forme de la fonction d'initialiseur.
Again, placing code inside a promise doesn't automatically make it asynchronous-the initializer function needs to set that up itself.
Rappelons que le fait de placer du code dans une promesse ne le rend pas automatiquement asynchrone : la fonction de l'initialiseur doit configurer elle-même ce paramètre.
;} When calling new WinJS.Promise, the single argument to its constructor is an initializer function (anonymous in this case).
Lorsque la méthode new WinJS.Promise est appelée, le seul argument de son constructeur est une fonction initializer (qui est anonyme, dans notre cas).
For arguments, the initializer function receives three dispatchers for the completed, error, and progress cases that promises support.
En termes d'arguments, la fonction d'initialiseur reçoit trois répartiteurs pour les différents cas pris en charge par les promesses (opération terminée, erreur et progression).
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "initializer function" in English