EventDestination

public protocol EventDestination : Completable, EventController, Updatable

A base protocol of object that can be updated and completed

  • post(_:from:) Extension method

    Posts event to the EventDestination Value will not be applied for completed Producer

    Declaration

    Swift

    func post(
      _ event: ChannelEvent<Update, Success>,
      from originalExecutor: Executor? = nil)

    Parameters

    event

    Event to apply.

    originalExecutor

    Executor you calling this method on. Specifying this argument will allow to perform syncronous executions on strictAsync: false Executors. Use default value or nil if you are not sure about an Executor you calling this method on.