Mojentic for Kotlin
Toggle table of contents
2.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Mojentic for Kotlin
mojentic-core
/
com.mojentic.llm.tools.tasks
/
EphemeralTaskList
/
insertAfter
insert
After
suspend
fun
insertAfter
(
existingTaskId
:
Int
,
description
:
String
)
:
EphemeralTask
Insert a new pending task immediately after
existingTaskId
.
Throws
Illegal
Argument
Exception
if no task with that id exists.