NormalAdapterResult

sealed interface NormalAdapterResult

Result contract for immediate normal adapter mutations.

즉시 반영형 normal adapter 변경 결과 계약입니다.

Inheritors

Types

Link copied to clipboard

Indicates that the mutation was applied successfully.

변경이 성공적으로 반영되었음을 나타냅니다.

Link copied to clipboard
sealed interface Rejected : NormalAdapterResult

Indicates that the mutation was rejected before execution.

실행 전에 변경 요청이 거절되었음을 나타냅니다.

Functions

Link copied to clipboard
open fun fold(onApplied: () -> Unit, onRejected: (NormalAdapterResult.Rejected) -> Unit)

Folds this result into applied or rejected branches.

현재 결과를 적용 성공 또는 거절 분기로 처리합니다.