CombineEventsPublisher

public class CombineEventsPublisher<T> : Publisher where T : Event

Represents work with EventSubscriber in combine way.

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • Declaration

    Swift

    public typealias Output = T
  • Declaration

    Swift

    public typealias Failure = Never
  • Declaration

    Swift

    public func receive<S>(subscriber: S) where T == S.Input, S : Subscriber, S.Failure == CombineEventsPublisher<T>.Failure