aigentic
0.4.0-SNAPSHOT
common
core
/
community.flock.aigentic.core.workflow
/
Workflow2
Workflow2
data
class
Workflow2
<
I
:
Any
,
M
:
Any
,
O
:
Any
>
(
val
firstAgent
:
Agent
<
I
,
M
>
,
val
secondAgent
:
Agent
<
M
,
O
>
)
Members
Members & Extensions
Constructors
Workflow2
Link copied to clipboard
constructor
(
firstAgent
:
Agent
<
I
,
M
>
,
secondAgent
:
Agent
<
M
,
O
>
)
Properties
first
Agent
Link copied to clipboard
val
firstAgent
:
Agent
<
I
,
M
>
second
Agent
Link copied to clipboard
val
secondAgent
:
Agent
<
M
,
O
>
Functions
start
Link copied to clipboard
inline suspend
fun
<
I
:
Any
,
M
:
Any
,
O
:
Any
>
Workflow2
<
I
,
M
,
O
>
.
start
(
input
:
I
,
vararg
attachments
:
Attachment
)
:
WorkflowRun
<
O
>
then
Process
Link copied to clipboard
infix
fun
<
I
:
Any
,
M1
:
Any
,
M2
:
Any
,
O
:
Any
>
Workflow2
<
I
,
M1
,
M2
>
.
thenProcess
(
next
:
Agent
<
M2
,
O
>
)
:
Workflow3
<
I
,
M1
,
M2
,
O
>