Packages

object TypedPostResponse

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedPostResponse
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AndThen[P, Q, V, W, ID](first: TypedPostResponse[P, W, ID], second: Callback[Q, W, V, ID])(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable
  2. case class Callback[P, W, V, ID](update: (W) => (V) => (P) => Future[Unit], predicate: (V) => Boolean = (_ : V) => true, name: Option[String] = None)(implicit pw: Postable[P, W, ID], lv: LocalQueryable[V, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable

    Callback executed on a post of type P; the returned task gives an empty vector, but running it executes the callback, in fact, a callback is executed for each value of the auxiliary queryable

    Callback executed on a post of type P; the returned task gives an empty vector, but running it executes the callback, in fact, a callback is executed for each value of the auxiliary queryable

    update

    the callback, may also update the web as a side-effect

    predicate

    condition on post to trigger callbask

    pw

    postability

    lv

    queryability of parameters on which the callback depends

  3. case class ComposedResponse[P, Q, W, ID](first: TypedPostResponse[P, W, ID], second: TypedPostResponse[Q, W, ID])(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable
  4. case class ConcurrentResponse[P, W, ID](first: TypedPostResponse[P, W, ID], second: TypedPostResponse[P, W, ID])(implicit pw: Postable[P, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable
  5. case class DualMiniBot[P, Q, W, V, ID](responses: (V) => (P) => Vector[Future[Q]], predicate: (V) => Boolean = (_: V) => true, name: Option[String] = None)(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID], lv: LocalQueryable[V, W, ID], dg: DataGetter[Q, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable

    Bot responding to a post returning a vector of posts for each value of the auxiliary queryable - so even if the auxiliary has a single response, many posts are made but posts are in the future : this works if branches are known in advance but each branch calculation is expensive.

    Bot responding to a post returning a vector of posts for each value of the auxiliary queryable - so even if the auxiliary has a single response, many posts are made but posts are in the future : this works if branches are known in advance but each branch calculation is expensive.

    responses

    the responses of the bot

    predicate

    the condition the post must satisfy to trigger the bot

    pw

    postability of the post type

    qw

    postability of the response post type

    lv

    queryability of the other arguments

  6. case class DualMiniBotTask[P, Q, W, V, ID](responses: (V) => (P) => Vector[Task[Q]], predicate: (V) => Boolean = (_: V) => true, name: Option[String] = None)(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID], lv: LocalQueryable[V, W, ID], dg: DataGetter[Q, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable

    Bot responding to a post returning a vector of posts for each value of the auxiliary queryable - so even if the auxiliary has a single response, many posts are made but posts are in the future : this works if branches are known in advance but each branch calculation is expensive.

    Bot responding to a post returning a vector of posts for each value of the auxiliary queryable - so even if the auxiliary has a single response, many posts are made but posts are in the future : this works if branches are known in advance but each branch calculation is expensive.

    responses

    the responses of the bot

    predicate

    the condition the post must satisfy to trigger the bot

    pw

    postability of the post type

    qw

    postability of the response post type

    lv

    queryability of the other arguments

  7. case class MicroBot[P, Q, W, V, ID](response: (V) => (P) => Future[Q], predicate: (P) => (V) => Boolean = (_: P) => (_ : V) => true, name: Option[String] = None)(implicit ppw: Postable[P, W, ID], qw: Postable[Q, W, ID], lv: LocalQueryable[V, W, ID], dg: DataGetter[Q, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable

    Bot responding to a post returning a vector of posts, one for each value of the auxiliary queryable (in simple cases a singleton is returned)

    Bot responding to a post returning a vector of posts, one for each value of the auxiliary queryable (in simple cases a singleton is returned)

    response

    the action of the bot

    predicate

    the condition the post must satisfy to trigger the bot

    qw

    postability of the response post type

    lv

    queryability of the other arguments

  8. case class MiniBot[P, Q, W, V, ID](responses: (V) => (P) => Future[Vector[Q]], predicate: (V) => Boolean = (_: V) => true, name: Option[String] = None)(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID], lv: LocalQueryable[V, W, ID], dg: DataGetter[Q, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable

    Bot responding to a post returning a vector of posts for each value of the auxiliary queryable - so even if the auxiliary has a single response, many posts are made

    Bot responding to a post returning a vector of posts for each value of the auxiliary queryable - so even if the auxiliary has a single response, many posts are made

    responses

    the responses of the bot

    predicate

    the condition the post must satisfy to trigger the bot

    pw

    postability of the post type

    qw

    postability of the response post type

    lv

    queryability of the other arguments

  9. case class PairBot[P, Q1, Q2 <: HList, W, V, ID](response: (V) => (P) => Future[::[Q1, Q2]], predicate: (V) => Boolean = (_ : V) => true)(implicit pw: Postable[P, W, ID], q1w: Postable[Q1, W, ID], q2w: Postable[Q2, W, ID], lv: LocalQueryable[V, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable

    Probabaly not needed, need to just post pairs

  10. case class ReducedResponse[P, Q, R, W, ID](first: TypedPostResponse[P, W, ID], reduce: (Vector[Q]) => R)(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID], rw: Postable[R, W, ID], dgr: DataGetter[R, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. object Callback extends Serializable
  20. object MicroBot extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped