CombinedSubcontextInitialAction

class CombinedSubcontextInitialAction(val subactions: List<CombinedSubcontextInitialAction.SubAction>, logger: KSLog = KSLog("CombinedSubcontextInitialAction_${subactions.size}"))

Contains SubActions which will be used in subcontextInitialAction in order they has been passed in subactions.

Its subcontextInitialAction will iterate over incoming subactions until all will be completed successfully OR none will be successful during round of running:

  • Run all

  • Exclude from current running successful items

  • Do again if there are some items to run

Constructors

Link copied to clipboard
constructor(subactions: List<CombinedSubcontextInitialAction.SubAction>, logger: KSLog = KSLog("CombinedSubcontextInitialAction_${subactions.size}"))

Types

Link copied to clipboard
fun interface SubAction

Represents interface-like variant of CustomBehaviourContextAndTypeReceiver useful for BehaviourContext builders