Skip to content

Commit

Permalink
Updated [Non]BlockingExecutor kotlin examples: annotate type usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Katkov authored and Nikita Katkov committed Nov 9, 2021
1 parent 7758341 commit 67e32b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
* <pre>
* {@code
* class BlockingExampleService {
* @BlockingExecutor
* val dispatcher: CoroutineContext
* val dispatcher: @BlockingExecutor CoroutineContext
* get() { ... }
*
* suspend fun foo() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
* <pre>
* {@code
* class NonBlockingExampleService {
* @NonBlockingExecutor
* val dispatcher: CoroutineContext
* val dispatcher: @NonBlockingExecutor CoroutineContext
* get() { ... }
*
* suspend fun foo() {
Expand Down

0 comments on commit 67e32b7

Please sign in to comment.