# Uses of Class
com.google.adk.agents.LiveRequestQueue

Packages that use LiveRequestQueue
Package
Description
com.google.adk.agents
com.google.adk.runner

- ## Uses of LiveRequestQueue in com.google.adk.agents

  Methods in com.google.adk.agents that return LiveRequestQueue
  Modifier and Type
  Method
  Description
  `@Nullable LiveRequestQueue`
  ActiveStreamingTool.`stream()`
  Returns the active stream of this streaming tool.
  Methods in com.google.adk.agents that return types with arguments of type LiveRequestQueue
  Modifier and Type
  Method
  Description
  `Optional<LiveRequestQueue>`
  InvocationContext.`liveRequestQueue()`
  Returns the queue for managing live requests, if available for this invocation.
  Methods in com.google.adk.agents with parameters of type LiveRequestQueue
  Modifier and Type
  Method
  Description
  `InvocationContext.Builder`
  InvocationContext.Builder.`liveRequestQueue(@Nullable LiveRequestQueue liveRequestQueue)`
  Sets the queue for managing live requests.
  `void`
  ActiveStreamingTool.`stream(@Nullable LiveRequestQueue stream)`
  Sets the active stream of this streaming tool.
  Constructors in com.google.adk.agents with parameters of type LiveRequestQueue
  Modifier
  Constructor
  Description
  ``
  `ActiveStreamingTool(LiveRequestQueue stream)`
  ``
  `ActiveStreamingTool(io.reactivex.rxjava3.disposables.Disposable task, LiveRequestQueue stream)`

- ## Uses of LiveRequestQueue in com.google.adk.runner

  Methods in com.google.adk.runner with parameters of type LiveRequestQueue
  Modifier and Type
  Method
  Description
  `io.reactivex.rxjava3.core.Flowable<Event>`
  Runner.`runLive(SessionKey sessionKey, LiveRequestQueue liveRequestQueue, RunConfig runConfig)`
  Retrieves the session and runs the agent in live mode.
  `io.reactivex.rxjava3.core.Flowable<Event>`
  Runner.`runLive(Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig)`
  `io.reactivex.rxjava3.core.Flowable<Event>`
  Runner.`runLive(String userId, String sessionId, LiveRequestQueue liveRequestQueue, RunConfig runConfig)`
  Retrieves the session and runs the agent in live mode.
  `protected io.reactivex.rxjava3.core.Flowable<Event>`
  Runner.`runLiveImpl(Session session, @Nullable LiveRequestQueue liveRequestQueue, RunConfig runConfig)`
  Runs the agent in live mode, appending generated events to the session.