Skip to content

Commit 3de5ded

Browse files
Update readme and changelog
1 parent 6aaf086 commit 3de5ded

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
- Add a `:response-executor` option to control on which thread responses to
6+
server-initiated requests are run, defaulting to Promesa's `:default`
7+
executor, i.e. `ForkJoinPool/commonPool`.
8+
59
## v1.10.0
610

711
- Add `textDocument/foldingRange` schemas.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ Alternatively, you can convert the request to a promesa promise, and handle it u
120120

121121
In this case `(promesa/cancel! request)` will send `$/cancelRequest`.
122122

123+
Response promises are completed on Promesa's `:default` executor. You
124+
can specify your own executor by passing the `:response-executor` option
125+
when creating your server instance.
126+
123127
### Start and stop a server
124128

125129
The last step is to start the server you created earlier. Use `lsp4clj.server/start`. This method accepts two arguments, the server and a "context".

0 commit comments

Comments
 (0)