HTTPClientFactory page nopage 源码

def page(self, page):
    if self.waiting:
   self.waiting = 0
   self.deferred.callback(page)

def noPage(self, reason):
    if self.waiting:
        self.waiting = 0
        self.deferred.errback(reason)

你可能感兴趣的:(HTTPClientFactory page nopage 源码)