retrofit icon indicating copy to clipboard operation
retrofit copied to clipboard

Add documentation for using suspend functions on a retrofit interface

Open JesseCorbett opened this issue 2 years ago • 0 comments

I found myself frequently revisiting the source to double check suspend function behavior, so figured it might warrant formal documentation (plus it doesn't seem to be mentioned anywhere at all that retrofit supports suspend functions at all!).

I put together a succinct addition to the website under the API Declaration section about using suspend functions and their general happy path and non-2XX error behavior

JesseCorbett avatar Mar 30 '22 04:03 JesseCorbett