ActorSelectorManager

class ActorSelectorManager(context: CoroutineContext) : SelectorManagerSupport, Closeable, CoroutineScope

Default CIO selector manager implementation

Constructors

Link copied to clipboard
fun ActorSelectorManager(context: CoroutineContext)

Functions

Link copied to clipboard
open override fun close()

Close selector manager and release all resources

Link copied to clipboard
open override fun notifyClosed(s: Selectable)

Notifies the selector that selectable has been closed.

Link copied to clipboard
suspend override fun select(selectable: Selectable, interest: SelectInterest)

Suspends until interest is selected for selectable May cause manager to allocate and run selector instance if not yet created.

Properties

Link copied to clipboard
open override val coroutineContext: CoroutineContext
Link copied to clipboard
override val provider: SelectorProvider

NIO selector provider