EventProtocol

public protocol EventProtocol

Event protocol for constraining signal extensions

  • The value type of an event.

    Declaration

    Swift

    associatedtype Value
  • The error type of an event. If errors aren’t possible then Never can be used.

    Declaration

    Swift

    associatedtype Error : Error
  • Extracts the event from the receiver.

    Declaration

    Swift

    var event: Signal<Value, Error>.Event { get }