<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def buffer_typechecks_and_display(self, call_id, payload):
 """Adds typecheck events to the buffer, and displays them right away. This is a workaround for this issue: https://github.com/ensime/ensime-server/issues/1616 """

        self.buffer_typechecks(call_id, payload)
        self.editor.display_notes(self.buffered_notes)