Package io.jmix.dynmodelai.concurrent
Class ConversationCommands
java.lang.Object
io.jmix.dynmodelai.concurrent.ConversationCommands
Serializes Conversation operations on a shared pool; native model calls never run here.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TSynchronous Java boundary.void<T extends @Nullable Object>
CompletableFuture<T> Always enqueues, including from a command: Close already in the queue precedes a new Launch.
-
Constructor Details
-
ConversationCommands
-
-
Method Details
-
submit
public <T extends @Nullable Object> CompletableFuture<T> submit(UUID conversationId, Supplier<T> operation) Always enqueues, including from a command: Close already in the queue precedes a new Launch. -
call
Synchronous Java boundary. Calls between services within the same command execute inline. -
run
-