Skip to content

Commit

Permalink
Allow unsubscribing from subscriptions, it is used in the language se…
Browse files Browse the repository at this point in the history
…rver when we get a request to run a fix, we make the quick fix request and wait for the modified file to come back through the port, and then unsubscribe to complete the loop.
  • Loading branch information
antew committed Jun 9, 2019
1 parent b77681d commit d9fca2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ts/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ interface EditorElmApp {

interface Subscription<T> {
subscribe: ((cb: ((d: T) => void)) => void);
unsubscribe: ((cb: ((d: T) => void)) => void);
}

interface FileContentSha {
Expand Down

0 comments on commit d9fca2d

Please sign in to comment.