Creates a synchronous Promise instance that when resolved or rejected will execute it's pending chained operations
synchronously in the same execution cycle as the operation that calls the executors, resolve or reject functions.
The function to be executed during the creation of the promise. Any errors thrown in the executor will
cause the promise to be rejected. The return value of the executor is always ignored
Creates a synchronous Promise instance that when resolved or rejected will execute it's pending chained operations synchronously in the same execution cycle as the operation that calls the
executors
,resolve
orreject
functions.