Optional
debug?: DebugFriendlyConfigOptional
dryDefaults to false.
Dry run mode. When true, the runner will setup the system, ensure there are no errors, but will not start the system. Your resources will not be initialized, and no events will be emitted. This is useful for testing and debugging.
Note: this cannot catch init() errors that happen within resources.
Optional
errorWhen true (default), installs a central error boundary that catches uncaught errors
from process-level events and routes them to onUnhandledError
.
Optional
logs?: { Configure logging settings.
Optional
bufferDefaults to false. If true, we buffer logs until the root resource is ready. This provides you with the chance to see the logs before the root resource is ready.
Optional
printDefaults to PRETTY. How to print the logs.
Optional
printDefaults to info. Use null to disable logging.
Optional
onCustom handler for any unhandled error caught by Runner. Defaults to logging via the created logger.
Optional
runtimeDefaults to true. When set, forces runtime cycle detection for event emissions. Disable if you're sure you don't have event deadlocks to improve event emission performance.
Optional
shutdownWhen true (default), installs SIGINT/SIGTERM handlers that call dispose() on the root allowing for graceful shutdown.
Defaults to undefined. If true, we introduce logging to the console.