Package io.ktor.network.selector
Types
class ActorSelectorManager : Default CIO selector manager implementation |
|
class ClosedChannelCancellationException |
|
class InterestSuspensionsMap |
|
enum expect class SelectInterest Select interest kind |
|
expect interface Selectable A selectable entity with selectable NIO channel, interestedOps subscriptions. |
|
expect interface SelectorManager : CoroutineScope, Closeable SelectorManager interface allows Selectable wait for SelectInterest. |
|
abstract class SelectorManagerSupport : SelectorManager Base class for NIO selector managers |
Functions
expect fun SelectorManager( Creates the selector manager for current platform. |
|
fun <C, R> SelectorManager.buildOrClose( Creates a NIO entity via create and calls setup on it. If any exception happens then the entity will be closed and an exception will be propagated. |