Reputation: 10280
How can I acquire a single thread executor from an EventLoop
?
The reason being is I would like to use a single thread for one part of my application, but still have it be available for use by the EventLoop
.
Upvotes: 1
Views: 142
Reputation: 23567
The EventLoop is always just backed by a single thread. So the EventLoop in fact is just a single thread executor.
Upvotes: 1