# boulderopalscaleup.runtime.RuntimeOptions

Source: https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/RuntimeOptions

```python
class boulderopalscaleup.runtime.RuntimeOptions(exec_mode=ExecutionMode.SYNC, close_on_system_error=True, close_on_exec_error=False, close_on_finalize=True, reservation_manager=None)
```

Options for runtime behavior.

### Parameters
* **exec_mode** (*ExecutionMode*) – The execution mode the runtime should operate in. As of implementation, the runtime
  protocols are intended to only support one execution mode per runtime. There is no
  intention to support mixed execution modes.
* **close_on_system_error** (*bool*) – Whether to close the runtime and component systems if there are any errors during binding
  and/or adding of new systems.
* **close_on_exec_error** (*bool*) – Whether to close the runtime and component systems if an executable bound to this runtime
  raises an error during execution.
* **close_on_finalize** (*bool*) – When set, the runtime will invoke its close method (closing all registered systems) on
  object finalization (via weakref).
* **reservation_manager** (*ReservationManager* *|* *None* *,* *optional*) – Reservation managers coordinate synchronised access to the underlying systems. Should two
  manifests target the same systems, the access controller must correclty sequence or manage
  the denial of executions to prevent system corruption/issues or logical execution errors.
  When not set, then no system access control is used.

## Methods

|||
|--------------------------------------------------------------------------------------------------------------------------|----|
| [__init__](https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/runtime/boulderopalscaleup.runtime.RuntimeOptions.__init__.md#boulderopalscaleup.runtime.RuntimeOptions.__init__)   |    |
