Probably (without testing it): `setupPrimaryStage(...
# tornadofx
h
Probably (without testing it):
setupPrimaryStage(timeoutMillis: Long = 0, startupFunction: () -> Unit =  { PlatformImpl.startup() }, primaryStageProvider: () -> Stage = { PRIMARY_STAGE }, action: () -> Unit = {})