# Async utils
@apoyo/std contains a lot of utilities to handle commonly used asynchroneous tasks.
# Promise module
By default, the Prom namespace will contain utilities about Promises.
It will contain useful utilities like:
thunkto wrap an synchroneous or asynchroneous operation into a promise.mapErrorto map over the rejected error of the promise.tryCatchto encapsulate your resolved / rejected value into aResult(Okif resolved, orKoif rejected)timeoutto timeout your promise- etc...
# Task module
As a Promise is eager and will directly be executed, you may sometimes rather use Tasks, who are the lazy equivalent of a Promise.
This allows a multitude of operations that are not possible with Promises, like executing a list of asynchroneous tasks in sequence or in concurrency.