writePendingInstall abstract method

Future<void> writePendingInstall(
  1. UpdateInstallRecoveryMarker marker
)

Writes a pending install marker.

Implementations must complete this future only after durable replacement has finished and a subsequent readPendingInstall for the same channel can return the exact marker bytes. Filesystem-backed stores should use atomic replacement and the strongest flush/fsync semantics available to the host platform.

Implementation

Future<void> writePendingInstall(UpdateInstallRecoveryMarker marker);