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
No description provided.
The text was updated successfully, but these errors were encountered:
Release 0.4.0 adds support for context map that is passed through requests.
Example:
(def request1 [user-id context cb] (cb user-id (assoc context :some-state "state")))
Now next requests context contains map with key :some-state
Sorry, something went wrong.
Would that be
(defn request1 [user-id context cb] (cb user-id (assoc context :some-state "state")))
There was a mistake. It should be like this
(def request1 [user-id context cb] (cb true (assoc context :some-state "state")))
I improved documentation a bit to make this more clear. My plan is to write a full blown example next to make usage more clear overall.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: