Skip to content

feat(monaco): implement CancellationToken for workers#221

Merged
johnsoncodehk merged 1 commit intomasterfrom
monaco-cancellation-token
Jul 3, 2024
Merged

feat(monaco): implement CancellationToken for workers#221
johnsoncodehk merged 1 commit intomasterfrom
monaco-cancellation-token

Conversation

@johnsoncodehk
Copy link
Member

Now need to pass in requestId when calling WorkerLanguageService APIs, and it can notify WorkerLanguageService to cancel the request by calling cancelRequest(requestId). These API changes are internal and developers shouldn't care about it.

@johnsoncodehk johnsoncodehk merged commit 120c0fc into master Jul 3, 2024
@johnsoncodehk johnsoncodehk deleted the monaco-cancellation-token branch July 3, 2024 06:57
@johnsoncodehk johnsoncodehk restored the monaco-cancellation-token branch July 3, 2024 06:57
@johnsoncodehk johnsoncodehk deleted the monaco-cancellation-token branch July 3, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant