#NEWLINE# def apply( self , func , args = ( ) , kwds = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# '\n        Equivalent of `func(*args, **kwds)`.\n        ' #NEWLINE# assert ( self . _state == RUN ) #NEWLINE# return self . apply_async ( func , args , kwds ) . get ( )