Transformation

data class Transformation<T : Any, R>(kProperty: KProperty1<T, R>, transformation: FunctionWrapper<R>) : FunctionWrapper<R>

Functions

arity
Link copied to clipboard
open override fun arity(): Int
hasReturnType
Link copied to clipboard
open override fun hasReturnType(): Boolean
invoke
Link copied to clipboard
open suspend override fun invoke(vararg args: Any?): R?
open suspend override fun invoke(args: List<Any?>, subscriptionArgs: List<String>, objectWriter: ObjectWriter): R?
subscribe
Link copied to clipboard
open override fun subscribe(subscription: String, subscriber: Subscriber)
unsubscribe
Link copied to clipboard
open override fun unsubscribe(subscription: String)
valueParameters
Link copied to clipboard
open override fun valueParameters(): List<KParameter>
returns list of function parameters without receiver

Properties

argumentsDescriptor
Link copied to clipboard
open override val argumentsDescriptor: Map<String, KType>
hasReceiver
Link copied to clipboard
open override val hasReceiver: Boolean
denotes whether function is called with receiver argument.
kFunction
Link copied to clipboard
open override val kFunction: KFunction<R>
kProperty
Link copied to clipboard
val kProperty: KProperty1<T, R>
transformation
Link copied to clipboard
val transformation: FunctionWrapper<R>