---
title: "init(prefix:suffix:)"
framework: combine
role: symbol
role_heading: Initializer
path: "combine/publishers/concatenate/init(prefix:suffix:)"
---

# init(prefix:suffix:)

Creates a publisher that emits all of one publisher’s elements before those from another publisher.

## Declaration

```swift
init(prefix: Prefix, suffix: Suffix)
```

## Parameters

- `prefix`: The publisher to republish, in its entirety, before republishing elements from suffix.
- `suffix`: The publisher to republish only after prefix finishes.
