Generic Instance Method

drop(untilOutputFrom:)

Ignores elements from the upstream publisher until it receives an element from a second publisher.

Declaration

func drop<P>(untilOutputFrom publisher: P) -> Publishers.DropUntilOutput<Record<Output, Failure>, P> where P : Publisher, Self.Failure == P.Failure

Parameters

publisher

A publisher to monitor for its first emitted element.

Return Value

A publisher that drops elements from the upstream publisher until the other publisher produces a value.