Package io.ktor.network.selector
Types
Link copied to clipboard
class ActorSelectorManager(context: CoroutineContext) : SelectorManagerSupport, Closeable, CoroutineScope
Content copied to clipboard
Default CIO selector manager implementation
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A selectable entity with selectable NIO channel, interestedOps subscriptions.
Link copied to clipboard
Select interest kind
Select interest kind
Select interest kind
Link copied to clipboard
SelectorManager interface allows Selectable wait for SelectInterest.
Selector manager is a service that manages NIO selectors and selection threads
Link copied to clipboard
Base class for NIO selector managers
Link copied to clipboard
Functions
Link copied to clipboard
inline fun <C : Closeable, R> SelectorManager.buildOrClose(create: SelectorProvider.() -> C, setup: C.() -> R): R
Content copied to clipboard
Link copied to clipboard
expect fun SelectorManager(dispatcher: CoroutineContext = EmptyCoroutineContext): SelectorManager
Content copied to clipboard
Creates the selector manager for current platform.
actual fun SelectorManager(dispatcher: CoroutineContext = EmptyCoroutineContext): SelectorManager
Content copied to clipboard