runAsync

fun runAsync(userId: String, sessionId: String, invocationId: String? = null, newMessage: Content? = null, stateDelta: Map<String, Any>? = null, runConfig: RunConfig? = null): Publisher<Event>

Runs the agent, streaming its events. Set invocationId to resume an interrupted invocation.