-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classOnHandler.Companion
-
Field Summary
Fields Modifier and Type Field Description private final SuspendFunction1<Context<T>, Context<T>>callbackprivate final SuspendFunction1<Context<T>, Boolean>predicateprivate final SuspendFunction1<Context<T>, Context<T>>beforeCallback
-
Constructor Summary
Constructors Constructor Description OnHandler(SuspendFunction1<Context<T>, Boolean> predicate, SuspendFunction1<Context<T>, Context<T>> beforeCallback)
-
Method Summary
Modifier and Type Method Description SuspendFunction1<Context<T>, Context<T>>getCallback()SuspendFunction1<Context<T>, Boolean>getPredicate()final SuspendFunction1<Context<T>, Context<T>>getBeforeCallback()-
-
Constructor Detail
-
OnHandler
OnHandler(SuspendFunction1<Context<T>, Boolean> predicate, SuspendFunction1<Context<T>, Context<T>> beforeCallback)
-
-
Method Detail
-
getCallback
SuspendFunction1<Context<T>, Context<T>> getCallback()
-
getPredicate
SuspendFunction1<Context<T>, Boolean> getPredicate()
-
getBeforeCallback
final SuspendFunction1<Context<T>, Context<T>> getBeforeCallback()
-
-
-
-