Skip to content

Commit

Permalink
Docs: 1. improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
platonai committed Aug 1, 2024
1 parent 578ec72 commit bad434f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ class EventDispatcher : Consumer<String>, AutoCloseable {
}

try {
// Here is a typical response sequence:
// println(clazz)
// RequestWillBeSent, RequestWillBeSentExtraInfo, ResponseReceivedExtra, ResponseReceived, LoadingFinished,
return OBJECT_MAPPER.readerFor(clazz).readValue(jsonNode)
} catch (e: MismatchedInputException) {
val message = """
Expand Down

0 comments on commit bad434f

Please sign in to comment.