Promise versus Async/Await
Akkor beszélünk promise-ról, amikor egy olyan műveletet hajtunk végre, ami nem azonnal ér véget. Nem azonnal produkál eredményt.
Akkor beszélünk promise-ról, amikor egy olyan műveletet hajtunk végre, ami nem azonnal ér véget. Nem azonnal produkál eredményt.
Hogy mi a manó az a JavaScript Promise, azt a legegyszerűbben talán úgy lehet megfogalmazni, hogy egy olyan objektum, ami azt figyeli, hogy egy bizonyos esemény már bekövetkezett-e vagy sem.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |