Skip to content

Some possible documentation clarification #138

@sirmspencer

Description

@sirmspencer

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions