SessionResult

sealed interface SessionResult<T : Failure>

Deprecated (with error)

This type is redundant, Session.State.Completed covers this type's use cases. This type will be removed in next minor release.

Replace with

import ru.solrudev.ackpine.session.Session
Session.State.Completed

Represents a result of a Session.

Inheritors

Types

Link copied to clipboard
data class Error<T : Failure>(val cause: T) : SessionResult<T>

Session completed with an error.

Link copied to clipboard

Session completed successfully.