#NEWLINE# def call_callback( self , data ) : #NEWLINE# #INDENT# '\n        Call callback for response data\n\n        :type data: dict\n        ' #NEWLINE# if ( 'logging' in data ) : #NEWLINE# #INDENT# getattr ( logger , data [ 'logging' ] ) ( callback [ 'content' ] ) #NEWLINE# return #NEWLINE# #UNINDENT# with self . wait_lock : #NEWLINE# #INDENT# callback = self . waiting . pop ( data [ 'uuid' ] , None ) #NEWLINE# #UNINDENT# if ( callback is not None ) : #NEWLINE# #INDENT# delayed_callback = partial ( run_in_active_view , self . window_id , callback , data [ data [ 'type' ] ] ) #NEWLINE# sublime . set_timeout ( delayed_callback , 0 )