flush

Function

Waits all asynchronous drive flushing tasks in the background to be successfully executed.

Format

mindio_acp.flush()

Parameters

None

Usage Example

>>> # flush all data to disk
>>> mindio_acp.flush()

Return Value

  • 0: Drive flushing succeeded.
  • 1: Drive flushing failed.