Emitter

inner class Emitter(generator: (SupplierActionContext<RESULT>) -> RESULT, mustRun: Boolean = false) : WorkflowBuilder<RESULT>

Constructors

Link copied to clipboard
constructor(generator: (SupplierActionContext<RESULT>) -> RESULT, mustRun: Boolean = false)

Functions

Link copied to clipboard

Convenience method to build an agent with a default name and description. This is typically used inside an @Action method.

Link copied to clipboard
open override fun build(): AgentScopeBuilder<RESULT>
Link copied to clipboard
fun buildAgent(name: String, description: String): Agent

Build an agent on this RepeatUntil workflow. Can be used to implement an @Bean method that returns an Agent, which will be automatically be registered on the current AgentPlatform.

Link copied to clipboard

If this is true, the action must run even if its type result is already present in the blackboard.