http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-ai-a2a-sdk
/
org.http4k.ai.a2a.server.storage
/
TaskStorage
Task
Storage
interface
TaskStorage
(
source
)
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Functions
cancel
Link copied to clipboard
open
fun
cancel
(
taskId
:
TaskId
,
tenant
:
Tenant
?
=
null
)
:
Task
?
delete
Link copied to clipboard
abstract
fun
delete
(
taskId
:
TaskId
,
tenant
:
Tenant
?
=
null
)
get
Link copied to clipboard
abstract
fun
get
(
taskId
:
TaskId
,
historyLength
:
Int
?
=
null
,
tenant
:
Tenant
?
=
null
)
:
Task
?
list
Link copied to clipboard
abstract
fun
list
(
contextId
:
ContextId
?
=
null
,
status
:
TaskState
?
=
null
,
pageSize
:
Int
?
=
null
,
pageToken
:
PageToken
?
=
null
,
historyLength
:
Int
?
=
null
,
statusTimestampAfter
:
Instant
?
=
null
,
includeArtifacts
:
Boolean
?
=
null
,
tenant
:
Tenant
?
=
null
)
:
TaskPage
store
Link copied to clipboard
abstract
fun
store
(
task
:
Task
,
tenant
:
Tenant
?
=
null
)
with
Push
Notifications
Link copied to clipboard
fun
TaskStorage
.
withPushNotifications
(
configStorage
:
PushNotificationConfigStorage
,
sender
:
PushNotificationSender
)
:
TaskStorage
with
Subscriptions
Link copied to clipboard
fun
TaskStorage
.
withSubscriptions
(
subscriptions
:
TaskSubscriptions
)
:
TaskStorage