Thread

enum Thread : Enum<DataObserver.Thread>

Represents a thread in which the result of a subscribe should be handled on.

Main Should be used when the app's UI needs to be updated upon receiving the result data.

IO Should be used when the app's UI does not need to be updated upon receiving the result data.

Entries

IO
Link copied to clipboard
IO(Schedulers.io())
Main
Link copied to clipboard
Main(AndroidSchedulers.mainThread())

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int