package
1.0.2
Repository: https://github.com/techidea8/codectl.git
Documentation: pkg.go.dev

# Functions

All resolves when all of the promises have resolved, reject immediately upon any of the input promises rejecting.
Any resolves as soon as any of the input's Promises resolve, with the value of the resolved Promise.
Catch allows to chain promises.
New create a new promise instance.
Race will settle the first fullfiled promise among muti promises.
Reject returns a Promise that has been rejected with a given error.
Resolve returns a Promise that has been resolved with a given value.
Then allows chain calls to other promise methods.

# Structs

Promise represents the eventual completion (or failure) of an asynchronous operation and its resulting value.