We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f27fad commit e800cacCopy full SHA for e800cac
ghcide/src/Development/IDE/Core/WorkerThread.hs
@@ -11,7 +11,8 @@ import Control.Monad.Cont (ContT (ContT))
11
12
-- Note [Serializing runs in separate thread]
13
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14
--- In a lof cases we want to have a separate thread that will serialize the runs of the actions.
+-- We often want to take long-running actions using some resource that cannot be shared.
15
+-- In this instance it is useful to have a queue of jobs to run using the resource.
16
-- Like the db writes, session loading in session loader, shake session restarts.
17
--
18
-- Originally we used various ways to implement this, but it was hard to maintain and error prone.
0 commit comments