Initializer

init(sequence:)

Creates a publisher for a sequence of elements.

Declaration

init(sequence: Elements)

Parameters

sequence

The sequence of elements to publish.