You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would promise-of block/defer the promise to check the result of the promise; or check whether the value is a speced/promise is passed and the spec matches.
or check whether the value is a speced/promise is passed and the spec matches.
the latter - the point of distinguishing between promise and promise-of is being able to check specs without blocking. Else we'd just have a unified promise API
Context
'Promise' return values are non-trivial to spec: derefing them on
:post
would make that defn blocking, defeating the purpose of promisesTask
Implement
speced/promise
(apromise
replacement), plusspeced/promise-of
(a spec predicate)Example:
Acceptance criteria
Additional resources
https://github.com/nedap/postman-clj/pull/38
The text was updated successfully, but these errors were encountered: