case class EventListenerBuilder[+M[_], A <: APIMessage](requests: Requests, refineEvent: (APIMessage) => Option[A], actionFunction: ActionFunction[EventListenerMessage, M, Nothing]) extends ActionBuilder[EventListenerMessage, M, Nothing, A] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventListenerBuilder
  2. Serializable
  3. Product
  4. Equals
  5. ActionBuilder
  6. ActionFunction
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EventListenerBuilder(requests: Requests, refineEvent: (APIMessage) => Option[A], actionFunction: ActionFunction[EventListenerMessage, M, Nothing])

Type Members

  1. type Action[B, Mat] = EventListener[B, Mat]
    Definition Classes
    EventListenerBuilderActionBuilder

Value Members

  1. val actionFunction: ActionFunction[EventListenerMessage, M, Nothing]
  2. def andThen[O2[_]](that: ActionFunction[M, O2, Nothing]): EventListenerBuilder[O2, A]

    Chains first this function, and then another one.

    Chains first this function, and then another one.

    Definition Classes
    EventListenerBuilderActionFunction
  3. def async(block: (M[A]) => Future[Unit]): Action[A, NotUsed]

    Creates an action that results in an async result

    Creates an action that results in an async result

    block

    The execution of the action.

    Definition Classes
    ActionBuilder
  4. def asyncOpt(block: (M[A]) => OptFuture[Unit]): Action[A, NotUsed]

    Creates an action that results in an partial async result

    Creates an action that results in an partial async result

    block

    The execution of the action.

    Definition Classes
    ActionBuilder
  5. def asyncOptRequest[G[_]](block: (M[A]) => OptFuture[Request[Any]]): Action[A, NotUsed]

    Creates an async action that might do a single request

    Creates an async action that might do a single request

    G

    The streamable result type.

    block

    The execution of the action.

    Definition Classes
    ActionBuilder
  6. def flow[C]: Flow[EventListenerMessage[C], Either[Option[Nothing], M[C]], NotUsed]

    A flow that represents this mapping.

    A flow that represents this mapping.

    Definition Classes
    EventListenerBuilderActionFunction
  7. def on[B <: A](implicit tag: ClassTag[B]): EventListenerBuilder[M, B]
  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. val refineEvent: (APIMessage) => Option[A]
  10. val requests: Requests

    A request helper that belongs to this builder.

    A request helper that belongs to this builder.

    Definition Classes
    EventListenerBuilderActionBuilder
  11. def streamed[G[_]](block: (M[A]) => G[Unit])(implicit streamable: util.Streamable[G]): Action[A, NotUsed]

    Creates an action that results in some streamable type G

    Creates an action that results in some streamable type G

    G

    The streamable result type.

    block

    The execution of the action.

    Definition Classes
    ActionBuilder
  12. def streamedOptRequest[G[_]](block: (M[A]) => OptionT[G, Request[Any]])(implicit streamable: util.Streamable[G]): Action[A, NotUsed]

    Creates an action that might do a single request, wrapped in an effect type G

    Creates an action that might do a single request, wrapped in an effect type G

    G

    The streamable result type.

    block

    The execution of the action.

    Definition Classes
    ActionBuilder
  13. def toSink[Mat](sinkBlock: Sink[M[A], Mat]): EventListener[A, Mat]

    Creates an action from a sink.

    Creates an action from a sink.

    Mat

    The materialized result of running this action.

    sinkBlock

    The sink that will process this action.

    Definition Classes
    EventListenerBuilderActionBuilder
  14. def withRequest(block: (M[A]) => Request[Any]): Action[A, NotUsed]

    Creates an action that will do a single request

    Creates an action that will do a single request

    block

    The execution of the action.

    Definition Classes
    ActionBuilder
  15. def withRequestOpt(block: (M[A]) => Option[Request[Any]]): Action[A, NotUsed]

    Creates an action that might do a single request

    Creates an action that might do a single request

    block

    The execution of the action.

    Definition Classes
    ActionBuilder
  16. def withSideEffects(block: (M[A]) => Unit): Action[A, NotUsed]

    Creates an action that might execute unknown side effects.

    Creates an action that might execute unknown side effects.

    block

    The execution of the action.

    Definition Classes
    ActionBuilder