class_docstr: ``AsyncCheckpointIO`` enables saving the checkpoints asynchronously in a thread.
  
  .. warning::  This is an :ref:`experimental <versioning:Experimental API>` feature.
  
  Args:
      checkpoint_io: A checkpoint IO plugin that is used as the basis for async checkpointing.
code: def __init__(
      self, checkpoint_io: Optional["CheckpointIO"] = None
  ) -> None:
      super().__init__(checkpoint_io)
  
      self._executor = ThreadPoolExecutor(max_workers=1)
      self._error: Optional[BaseException] = None
  
file_path: pytorch-lightning/src/lightning/pytorch/plugins/io/async_plugin.py
imports: from concurrent.futures import ThreadPoolExecutor
  from typing import Any, Optional
  from typing_extensions import override
  from lightning.fabric.plugins import CheckpointIO
  from lightning.pytorch.plugins.io.wrapper import _WrappingCheckpointIO
label_desc: Use image node_id 1 to create a new AsyncCheckpointIO object from inherited base classes: _WrappingCheckpointIO with example: obj = AsyncCheckpointIO(checkpoint_io)