ChainedRunnablePart

class ChainedRunnablePart<T, R>(plugin: Plugin, runnable: (T?) -> R, sync: Boolean, previous: ChainedRunnablePart<*, T>?, next: ChainedRunnablePart<R, *>?)

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
execute
Link copied to clipboard
fun execute()
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

next
Link copied to clipboard
var next: ChainedRunnablePart<R, *>?
plugin
Link copied to clipboard
val plugin: Plugin
previous
Link copied to clipboard
var previous: ChainedRunnablePart<*, T>?
runnable
Link copied to clipboard
val runnable: (T?) -> R
sync
Link copied to clipboard
val sync: Boolean

Extensions

thenAsync
Link copied to clipboard
fun <T, R, U> ChainedRunnablePart<T, R>.thenAsync(runnable: (R?) -> U): ChainedRunnablePart<R, U>
thenDo
Link copied to clipboard
fun <T, R, U> ChainedRunnablePart<T, R>.thenDo(sync: Boolean, runnable: (R?) -> U): ChainedRunnablePart<R, U>
thenSync
Link copied to clipboard
fun <T, R, U> ChainedRunnablePart<T, R>.thenSync(runnable: (R?) -> U): ChainedRunnablePart<R, U>