You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val client = HttpClient(threads = 2)
val server = HttpServer(threads = 6)
class HttpClient(threads: Int) {
val dispatcher = DefaultDispatcher.limited(threads)
}
...
The text was updated successfully, but these errors were encountered:
This is related to #261. We need to provide ability to create thread-limited blocking and non-blocking dispatchers. It does not see that the corresponding function need to be prefixed with DefaultDispatcher. Since it is a default, some top-level functions shoud do just fine.
I've introduced a corresponding API for the experimental dispatcher.
Top-level functions (or members of DefaultDispatcher) will be introduced along with #261
Consider the following use case:
The text was updated successfully, but these errors were encountered: