# orca.pause

> A module of morca's API.

Pausing a pipeline: what `orca pause`, the UI's Pause button and the watchdog (`orca.watchdog`) all do.

## Functions

### `set_paused`

```mojo
def set_paused(mut db: State, pipeline: String, paused: Bool) -> String
```

Sets `pipelines.paused`: while it's true the scheduler starts none of the pipeline's runs. Returns why it wasn't changed, or empty.
