TaskExt.run

Wraps given delegate returning app exit status code in a new allocated task object and immediately starts the scheduler event loop to handle it.

class TaskExt
int
run
(
scope int delegate
()
dg
)

Parameters

dg int delegate
()

delegate forwarding to the app entry point

Return Value

Type: int

app return status code

Meta