SessionRequestManager

class SessionRequestManager @Inject constructor(sessionRunContext: SessionRunContext, languageServices: LanguageServices, sessionLanguageServerAccessFactory: SessionLanguageServerAccessFactory) : LockingRequestManager

Constructors

Link copied to clipboard
@Inject
constructor(sessionRunContext: SessionRunContext, languageServices: LanguageServices, sessionLanguageServerAccessFactory: SessionLanguageServerAccessFactory)

Functions

Link copied to clipboard
fun executeCommand(params: ExecuteCommandParams): CompletableFuture<Any?>
Link copied to clipboard
open fun <T> performBackgroundWork(work: Supplier<T?>?): T?
Link copied to clipboard
open override fun <V> runRead(cancellable: Functions.Function1<in CancelIndicator, out V>): CompletableFuture<V>
Link copied to clipboard
fun <U> runWrite(mutation: () -> U, validation: (CancelIndicator, U) -> Unit): CompletableFuture<U>
open override fun <U, V> runWrite(nonCancellable: Functions.Function0<out U>, cancellable: Functions.Function2<in CancelIndicator, in U, out V>): CompletableFuture<V>
Link copied to clipboard
open fun shutdown()