-
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
I've been struggling to get promesa implemented correctly, at least with regard to pathom EQL. Just today I think I finally figured out the confusion. fn/macros like p/let
and p/->
don’t create a promise, they chain a promise (like .then). So for each async call, you need to create the promise first. The would be with a fn/macro like p/future
.
If I am correct, then the documentation can use a little more clarification. p/let
and p/future
both say they return a promise, but do two completely different things. If there was a clarification of what created a promise verses chained a promise that would go miles.
Metadata
Metadata
Assignees
Labels
No labels