class_docstr: Writes bytes to a file.
docstr: Makes sure the worker thread is still running and raises exception
  thrown in the worker thread otherwise.
docstr_tok: ["Makes","sure","the","worker","thread","is","still","running","and","raises","exception","thrown","in","the","worker","thread","otherwise","."]
code: def _check_worker_status(self):
      """Makes sure the worker thread is still running and raises exception
      thrown in the worker thread otherwise.
      """
      exception = self._worker.exception
      if exception is not None:
          raise exception
  
imports: import os
  import queue
  import socket
  import threading
  import time
  from tensorboard.compat import tf
  from tensorboard.compat.proto import event_pb2
  from tensorboard.summary.writer.record_writer import RecordWriter
label_desc: Use image node_id 5 for calling the _AsyncWriter obj's underlying member method code with example usage: obj._check_worker_status() without return types