Instance Method

share()

Returns a publisher as a class instance.

Declaration

func share() -> Publishers.Share<Record<Output, Failure>>

Return Value

A class instance that republishes its upstream publisher.