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
Oh, I think the doc may be out of date here. At one point, I switched the interface for async to basically be exactly the same as sync, just with the .async proxy.
When you pass a block to Client#post, it should becomes an implicit on_success block. If the request is not async, it causes the request to be evaluated immediately. Otherwise, it gets pushed into the async queue. They'll get flushed with you call Client#execute!.
I've updated the doc to reflect that the old "pass a block to which the request is yielded" syntax is no longer valid. Additionally, I added some specs to response_spec which explicitly test the behavior of each of the callback handlers.
The following code never prints out the statement
Is .async broken at the moment?
The text was updated successfully, but these errors were encountered: