Deferred is a utility class to create a promise that can be resolved or rejected without having to pass an executor function.
Optional
Deferred is a utility class to create a promise that can be resolved or rejected without having to pass an executor function.