class WindowLoopHost
source · line 7public
public class WindowLoopHost public constructor(private val host: ApplicationHost) : EventLoopHost
- Supertype
EventLoopHost
Adapts the application's actual native host to the asyncio notification contract.
constructor constructor
source · line 7public
constructor(private val host: ApplicationHost)
parameter host
source · line 7public
private val host: ApplicationHost
function isCurrentThread
source · line 8public
public override fun isCurrentThread(): Boolean
- Overrides
isCurrentThread
function watch
source · line 10public
@Unsafe
public override fun watch(notification: EventLoopNotification, ready: () -> Unit): EventLoopWatch
- Overrides
watch
Installs a borrowed platform notification without an inline ready callback.
parameter ready
source · line 13public
ready: () -> Unit
parameter notification
source · line 12public
notification: EventLoopNotification