class_docstr: Writers `Record` protocol buffers to an records file one by one.
  
  The `RecordFileWriter` class create an records file in the specified
  directory and asynchronously writes `Record` protocol buffers to this
  file.
class_docstr_tok: ["Writers","`","Record","`","protocol","buffers","to","an","records","file","one","by","one",".","The","`","RecordFileWriter","`","class","create","an","records","file","in","the","specified","directory","and","asynchronously","writes","`","Record","`","protocol","buffers","to","this","file","."]
code: def close(self):
      self._async_writer.close()
  
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 6 for calling the RecordFileWriter obj's underlying member method code with example usage: obj.close() without return types