Protected ReadonlyappProtected ReadonlycliProtected ReadonlycontributionsProtected ReadonlyprocessProtected ReadonlyrootProtected ReadonlystopwatchProtectedconfigureProtectedgetOptionalssl: booleanProtectedgracefulPerforms an asynchronous shutdown of the backend in two phases:
@preDestroy
hooks.Each phase has its own SHUTDOWN_TIMEOUT_MS budget to avoid hanging on a misbehaving hook. Late-resolving promises from a timed-out phase may still settle in the background and could log noisily or interact with a partly unbound container; this is accepted because the process is exiting.
Idempotent: a second invocation is a no-op. Exits the process with code 1 so
that the process.on('exit') handler runs for fallback cleanup such as
ProcessUtils.terminateProcessTree; the exit handler does not re-invoke
contribution onStop() hooks that this method already dispatched.
ProtectedhandleProtectedinitProtectedinitializeProtectedmeasureProtectedmeasureProtectedonProtectedserveOptionalport: numberOptionalhostname: stringProtectedstop
The main entry point for Theia applications.