#NEWLINE# def read_until( self , delimiter , callback ) : #NEWLINE# #INDENT# 'Run ``callback`` when we read the given delimiter.\n\n        The callback will get the data read (including the delimiter)\n        as an argument.\n        ' #NEWLINE# self . _set_read_callback ( callback ) #NEWLINE# self . _read_delimiter = delimiter #NEWLINE# self . _try_inline_read ( )