DescriptionCall Client methods synchronously in FetchDataLoader if the first read is Done or error
Preparation for https://codereview.chromium.org/1192913007/.
Handles like createDoneDataConsumerHandle() or createUnexpectedErrorDataConsumerHandle() can be created temporarily, and the handles and associated FetchDataLoader might be difficult to be kept alive.
This CL avoid the problem of keeping alive such handles by completing load for such handles synchronously in start().
BUG=480746
Patch Set 1 #Patch Set 2 : Fix unittests. #
Messages
Total messages: 8 (1 generated)
|