code: def write(self, bytestring):
      with self._lock:
          if self._closed:
              raise IOError("Writer is closed.")
          try:
              self._bytes_queue.put(bytestring, timeout=QUEUE_TIMEOUT)
          except queue.Full:
              print(
                  "This data was not written to the log due to timeout."
              )
  
imports: from visualdl.io import bfile
  from visualdl.utils.crc32 import masked_crc32c
  from visualdl.proto import record_pb2
  import struct
  import time
  import queue
  import threading
  import os
label_desc: Use image node_id 2 for calling the _AsyncWriter obj's underlying member method code with example usage: obj.write(bytestring) without return types