startSync

open fun startSync(timeout: Long)

Starts this Kontainer synchronously with the given timeout, blocking the current thread until this Kontainer starts or the timeout is reached.

Parameters

timeout

the maximum amount of time, in milliseconds, to wait for the this Kontainer to start; defaults to 30 seconds