Interface BackendServiceOptions
interface BackendServiceOptions {
alt?: boolean;
autoRestart?: boolean;
dropListenerReference?: boolean;
onClose?: () => void;
protocols?: BackendServiceProtocol[];
restartImmediately?: boolean;
}
alt?: boolean;
autoRestart?: boolean;
dropListenerReference?: boolean;
onClose?: () => void;
protocols?: BackendServiceProtocol[];
restartImmediately?: boolean;
}
Index
Properties
Optionalalt
alt?: boolean
Optionalauto Restart
autoRestart?: boolean
Enable automatic restart of the service when the source code changes. Defaults to true
Optionaldrop Listener Reference
dropListenerReference?: boolean
Don't keep a reference to the listening port, preventing this service from keeping the process alive
Optionalon Close
onClose?: () => void
Callback to invoke when service is shut down
Optionalprotocols
protocols?: BackendServiceProtocol[]
Protocols to listen on
Optionalrestart Immediately
restartImmediately?: boolean
Immediately restart the service even if we stil have open connections.
Append "-alt" to the service name