toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.api.tool
/
ListSink
List
Sink
class
ListSink
(
target
:
MutableList
<
Any
>
=
mutableListOf()
)
:
ArtifactSink
Sink that collects artifacts into a mutable list.
Members
Constructors
List
Sink
Link copied to clipboard
constructor
(
target
:
MutableList
<
Any
>
=
mutableListOf()
)
Functions
accept
Link copied to clipboard
open
override
fun
accept
(
artifact
:
Any
)
items
Link copied to clipboard
fun
items
(
)
:
List
<
Any
>