init(prefix:suffix:)
Creates a publisher that emits all of one publisher’s elements before those from another publisher.
Declaration
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
prefixfinishes.