Success

data class Success<out S>(val value: S) : Result<S, Nothing>

Instance of this class will be returned when operation requested by the client is successfully finished.

Parameters

value

encapsulates the answer for the requested operation and could contain any additional information represented by the provided class or Unit in case when additional info is not needed.

Constructors

Link copied to clipboard
constructor(value: S)

Properties

Link copied to clipboard
val value: S