MCPcopy
hub / github.com/ycm-core/YouCompleteMe / PostDataToHandler

Method PostDataToHandler

python/ycm/client/base_request.py:128–137  ·  view source on GitHub ↗
( self,
                         data,
                         handler,
                         timeout = _READ_TIMEOUT_SEC,
                         display_message = True,
                         truncate_message = False )

Source from the content-addressed store, hash-verified

126 # See the HandleFuture method for the |display_message| and |truncate_message|
127 # parameters.
128 def PostDataToHandler( self,
129 data,
130 handler,
131 timeout = _READ_TIMEOUT_SEC,
132 display_message = True,
133 truncate_message = False ):
134 return self.HandleFuture(
135 BaseRequest.PostDataToHandlerAsync( data, handler, timeout ),
136 display_message,
137 truncate_message )
138
139
140 # This returns a future! Use HandleFuture to get the value.

Callers 10

GetDefinedSubcommandsMethod · 0.95
FilterAndSortItemsMethod · 0.80
StartMethod · 0.80
_LoadExtraConfFileFunction · 0.80
_IgnoreExtraConfFileFunction · 0.80
_HandleFixitResponseMethod · 0.80
StartMethod · 0.80
StartMethod · 0.80

Calls 2

HandleFutureMethod · 0.95

Tested by

no test coverage detected