invokeAsync

open fun invokeAsync(obj: Any, vararg objs: Any): CompletableFuture<T>

Invokes the agent asynchronously with one or more arguments.

Return

a future containing the result of type T

Parameters

obj

the first (and possibly only) input value to be added to the blackboard

objs

additional input values to add to the blackboard


Invokes the agent asynchronously with a map of named inputs.

Return

a future containing the result of type T

Parameters

map

A Map that initializes the blackboard