We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLJS code is often async, maybe provide a =async=> that expects a checker on the RHS with a callback passed in?
=async=>
The text was updated successfully, but these errors were encountered:
Do you have an example in mind that you would like to see work?
Sorry, something went wrong.
I was actually thinking of something like this:
(defn fetch-foo [] (.resolve js/Promise :foo)) (defn promise-of [thing] (fn [result done] (-> result (.then #(= % thing)) (.then done)))) (fact "Can fetch foo asynchronously" (fetch-foo) =async=> (promise-of :foo))
No branches or pull requests
CLJS code is often async, maybe provide a
=async=>
that expects a checker on the RHS with a callback passed in?The text was updated successfully, but these errors were encountered: