parameters: (self, request)
docstring: A model or sound file or some such thing has just been
          loaded asynchronously by the sub-thread.  Add it to the list
          of loaded objects, and call the appropriate callback when it's
          time.
docstring_summary: A model or sound file or some such thing has just been
          loaded asynchronously by the sub-thread.  Add it to the list
          of loaded objects, and call the appropriate callback when it's
          time.
docstring_tokens: A model or sound file or some such thing has just been loaded asynchronously by the sub - thread . Add it to the list of loaded objects and call the appropriate callback when it s time .
function: def __gotAsyncObject(self, request):
          """A model or sound file or some such thing has just been
          loaded asynchronously by the sub-thread.  Add it to the list
          of loaded objects, and call the appropriate callback when it's
          time."""
  
          if request not in self._requests:
              return
  
          cb, i = self._requests[request]
          if cb.cancelled() or request.cancelled():
              # Shouldn't be here.
              del self._requests[request]
              return
  
          cb.requests.discard(request)
          if not cb.requests:
              del self._requests[request]
  
          result = request.result()
          if isinstance(result, PandaNode):
              result = NodePath(result)
  
          cb.gotObject(i, result)
function_tokens: def __gotAsyncObject ( self , request ) : if request not in self . _requests : return cb , i = self . _requests [ request ] if cb . cancelled ( ) or request . cancelled ( ) : # Shouldn't be here. del self . _requests [ request ] return cb . requests . discard ( request ) if not cb . requests : del self . _requests [ request ] result = request . result ( ) if isinstance ( result , PandaNode ) : result = NodePath ( result ) cb . gotObject ( i , result )