class Application
source · line 49public
public class Application public constructor(options: ApplicationOptions = applicationOptions())
The one application and one native main-loop run owned by this process.
Extensions
public fun Application.runWithAsyncio(handler: ApplicationHandler): Unit· scoop:scoop.window.asyncio:0.1.0@Unsafe public fun Application.runAttached(handler: ApplicationHandler, attach: (ApplicationHost) -> ApplicationAttachment): Unit· scoop:scoop.window:0.1.0
function run
source · line 52public
public fun run(handler: ApplicationHandler): Unit
Runs the native loop until explicit, fully drained shutdown.
parameter handler
source · line 52public
handler: ApplicationHandler
constructor constructor
source · line 49public
constructor(options: ApplicationOptions = applicationOptions())
parameter options
source · line 49public
options: ApplicationOptions = applicationOptions()
function proxy
source · line 56public
public fun proxy(): ApplicationProxy
Returns the thread-safe business mailbox, available before run begins.