OptimisticCompletionHandle

typealias OptimisticCompletionHandle = (cause: Throwable?) -> Unit

Function type for handling completion of optimistic updates.

This handle is intended for manual use when you need to explicitly complete an optimistic update. The parameter represents the throwable that caused the completion, null if completed successfully.