Contents

next()

Produces the next element in the prefix sequence.

Declaration

mutating func next() async throws -> P.Output?

Return Value

The next published element, or nil if the publisher finishes normally. If the publisher terminates with an error, the call point receives the error as a throw.