# ServeOptions

URL: https://www.caprid.com/docs/reference/typescript/caprid/relay/media/interfaces/serveoptions/

Defined in: [relay-sdks/ts/src/document-service.ts:15](https://github.com/caprids/relay-sdks/blob/main/ts/src/document-service.ts#L15)

Options for [CatalogService.serve](https://www.caprid.com/docs/reference/typescript/caprid/relay/media/interfaces/catalogservice/#serve).

## Properties

### signal?

```ts
signal?: AbortSignal;
```

Defined in: [relay-sdks/ts/src/document-service.ts:17](https://github.com/caprids/relay-sdks/blob/main/ts/src/document-service.ts#L17)

Aborting stops the service, cancelling a write in progress; `serve` then rejects with the signal's reason.
