Package fr.zhortech.ztcorekit.extensions

Types

Optional
Link copied to clipboard
data class Optional<T>(value: T?)

Functions

mergeFirstErrorOnly
Link copied to clipboard
fun mergeFirstErrorOnly(completables: MutableList<Completable>): Completable
fun mergeFirstErrorOnly(observables: MutableList<Observable<String>>): Observable<String>
observeBroadcasts
Link copied to clipboard
fun Context.observeBroadcasts(intentFilter: IntentFilter): Observable<Intent>
throwAfterDuration
Link copied to clipboard
fun Completable.throwAfterDuration(timeout: Long, unit: TimeUnit, error: Throwable): Completable
fun <T> Observable<T>.throwAfterDuration(timeout: Long, unit: TimeUnit, error: Throwable): Observable<T>
timeout
Link copied to clipboard
fun <T> Observable<T>.timeout(time: Long, unit: TimeUnit, error: Throwable): Observable<T>
toAscii
Link copied to clipboard
fun String.toAscii(): String
toHex
Link copied to clipboard
fun ByteArray.toHex(): String
toRawHex
Link copied to clipboard
fun ByteArray.toRawHex(): String

Properties

TAG
Link copied to clipboard
val Any.TAG: String