autodispose-lifecycle
Module Contents
alltypes
Module Contents
interface
CorrespondingEventsFunction
<
E
:
Any
>
:
Function
<
E
,
E
>
Module Contents
abstract
fun
apply
(
event
:
E
)
:
E
open
class
LifecycleEndedException
:
OutsideScopeException
Module Contents
LifecycleEndedException
(
)
LifecycleEndedException
(
s
:
String
)
open
class
LifecycleNotStartedException
:
OutsideScopeException
Module Contents
LifecycleNotStartedException
(
)
LifecycleNotStartedException
(
s
:
String
)
@DoNotMock
(
"Use TestLifecycleScopeProvider instead"
)
interface
LifecycleScopeProvider
<
E
:
Any
>
:
ScopeProvider
Module Contents
@CheckReturnValue
abstract
fun
correspondingEvents
(
)
:
CorrespondingEventsFunction
<
E
>
@CheckReturnValue
abstract
fun
lifecycle
(
)
:
Observable
<
E
>
@Nullable
abstract
fun
peekLifecycle
(
)
:
E
?
open
fun
requestScope
(
)
:
CompletableSource
class
LifecycleScopes
Module Contents
static
fun
<
E
:
Any
>
resolveScopeFromLifecycle
(
provider
:
LifecycleScopeProvider
<
E
>
)
:
CompletableSource
static
fun
<
E
:
Any
>
resolveScopeFromLifecycle
(
provider
:
LifecycleScopeProvider
<
E
>
,
checkEndBoundary
:
Boolean
)
:
CompletableSource
static
fun
<
E
:
Any
>
resolveScopeFromLifecycle
(
lifecycle
:
Observable
<
E
>
,
endEvent
:
E
)
:
CompletableSource
static
fun
<
E
:
Any
>
resolveScopeFromLifecycle
(
lifecycle
:
Observable
<
E
>
,
endEvent
:
E
,
@Nullable
comparator
:
Comparator
<
E
>
?
)
:
CompletableSource
class
TestLifecycleScopeProvider
:
LifecycleScopeProvider
<
TestLifecycle
>
Module Contents
class
TestLifecycle
Module Contents
STARTED
STOPPED
fun
correspondingEvents
(
)
:
CorrespondingEventsFunction
<
TestLifecycle
>
static
fun
create
(
)
:
TestLifecycleScopeProvider
static
fun
createInitial
(
initialValue
:
TestLifecycle
)
:
TestLifecycleScopeProvider
fun
lifecycle
(
)
:
Observable
<
TestLifecycle
>
fun
peekLifecycle
(
)
:
TestLifecycle
?
fun
requestScope
(
)
:
CompletableSource
fun
start
(
)
:
Unit
fun
stop
(
)
:
Unit
package
com.uber.autodispose.lifecycle
Module Contents
interface
CorrespondingEventsFunction
<
E
:
Any
>
:
Function
<
E
,
E
>
Module Contents
abstract
fun
apply
(
event
:
E
)
:
E
open
class
LifecycleEndedException
:
OutsideScopeException
Module Contents
LifecycleEndedException
(
)
LifecycleEndedException
(
s
:
String
)
open
class
LifecycleNotStartedException
:
OutsideScopeException
Module Contents
LifecycleNotStartedException
(
)
LifecycleNotStartedException
(
s
:
String
)
@DoNotMock
(
"Use TestLifecycleScopeProvider instead"
)
interface
LifecycleScopeProvider
<
E
:
Any
>
:
ScopeProvider
Module Contents
@CheckReturnValue
abstract
fun
correspondingEvents
(
)
:
CorrespondingEventsFunction
<
E
>
@CheckReturnValue
abstract
fun
lifecycle
(
)
:
Observable
<
E
>
@Nullable
abstract
fun
peekLifecycle
(
)
:
E
?
open
fun
requestScope
(
)
:
CompletableSource
class
LifecycleScopes
Module Contents
static
fun
<
E
:
Any
>
resolveScopeFromLifecycle
(
provider
:
LifecycleScopeProvider
<
E
>
)
:
CompletableSource
static
fun
<
E
:
Any
>
resolveScopeFromLifecycle
(
provider
:
LifecycleScopeProvider
<
E
>
,
checkEndBoundary
:
Boolean
)
:
CompletableSource
static
fun
<
E
:
Any
>
resolveScopeFromLifecycle
(
lifecycle
:
Observable
<
E
>
,
endEvent
:
E
)
:
CompletableSource
static
fun
<
E
:
Any
>
resolveScopeFromLifecycle
(
lifecycle
:
Observable
<
E
>
,
endEvent
:
E
,
@Nullable
comparator
:
Comparator
<
E
>
?
)
:
CompletableSource
class
TestLifecycleScopeProvider
:
LifecycleScopeProvider
<
TestLifecycle
>
Module Contents
class
TestLifecycle
Module Contents
STARTED
STOPPED
fun
correspondingEvents
(
)
:
CorrespondingEventsFunction
<
TestLifecycle
>
static
fun
create
(
)
:
TestLifecycleScopeProvider
static
fun
createInitial
(
initialValue
:
TestLifecycle
)
:
TestLifecycleScopeProvider
fun
lifecycle
(
)
:
Observable
<
TestLifecycle
>
fun
peekLifecycle
(
)
:
TestLifecycle
?
fun
requestScope
(
)
:
CompletableSource
fun
start
(
)
:
Unit
fun
stop
(
)
:
Unit