You don't need to use that API. Deferred is compatible with Promise, you can just simply `await $.post()` etc.
See last section of http://api.jquery.com/jQuery.Deferred/
You don't need to use that API. Deferred is compatible with Promise, you can just simply `await $.post()` etc.
See last section of http://api.jquery.com/jQuery.Deferred/