EventProtocol

public protocol EventProtocol

Event protocol for constraining signal extensions

  • Extracts the event from the receiver.

    Declaration

    Swift

    var event: Event<Value, Error>
  • The value type of an event.

    Declaration

    Swift

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

    Declaration

    Swift

    associatedtype Error: Swift.Error