AfterCommandFunction
class AfterCommandFunction<C : Any>(val metadata: AfterCommandFunctionMetadata<C>, val delegate: MessageFunction<C, ServerCommandExchange<*>, Mono<*>>) : MessageFunction<C, ServerCommandExchange<*>, Mono<*>> , Decorator<MessageFunction<C, ServerCommandExchange<*>, Mono<*>>> , Ordered
Constructors
Link copied to clipboard
constructor(metadata: AfterCommandFunctionMetadata<C>, delegate: MessageFunction<C, ServerCommandExchange<*>, Mono<*>>)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <M : Message<*, Any>, NamedBoundedContext, NamedAggregate> supportMessage(message: M): Boolean
Link copied to clipboard
fun FunctionInfo.toWaitSignal(id: String, waitCommandId: String, commandId: String, aggregateId: AggregateId, stage: CommandStage, isLastProjection: Boolean = false, aggregateVersion: Int? = null, errorCode: String = ErrorCodes.SUCCEEDED, errorMsg: String = ErrorCodes.SUCCEEDED_MESSAGE, bindingErrors: List<BindingError> = emptyList(), result: Map<String, Any> = emptyMap(), commands: List<String> = listOf(), signalTime: Long = System.currentTimeMillis()): WaitSignal