SelectorManager
SelectorManager interface allows Selectable wait for SelectInterest.
Selector manager is a service that manages NIO selectors and selection threads
Types
Functions
Link copied to clipboard
Notifies the selector that selectable has been closed.
Notifies the selector that selectable has been closed.
Notifies the selector that selectable has been closed.
Link copied to clipboard
Suspends until interest is selected for selectable May cause manager to allocate and run selector instance if not yet created.
Suspends until interest is selected for selectable May cause manager to allocate and run selector instance if not yet created.
Suspends until interest is selected for selectable May cause manager to allocate and run selector instance if not yet created.
Properties
Inheritors
Extensions
Link copied to clipboard
inline fun <C : Closeable, R> SelectorManager.buildOrClose(create: SelectorProvider.() -> C, setup: C.() -> R): R