Ir al contenido principal

DirectoryHandleMount

Index

Methods

flush

  • flush(): Promise<void>
  • Replays captured MEMFS changes into OPFS until the journal settles.

    Event capture remains active. If applying a normalized operation fails, that operation and its unattempted suffix remain queued for retry.


    Returns Promise<void>

unmount

  • unmount(): Promise<void>
  • Flushes all captured changes and detaches after a successful drain.

    If draining fails, rejects with MountStillActiveError without detaching, so callers can retry the same mount.


    Returns Promise<void>

Page Options