class ActionBuffer[A <: Action] extends Subscriber[A, Publisher[A]]
An ActionBuffer logs all actions generated by the supplied ActionBroker. Actions can be grabbed (which clears the buffer) and the buffer can be cleared independently. NP 2013-01-25.
- Source
- Action.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ActionBuffer
- Subscriber
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ActionBuffer(broker: ActionBroker[A])
Value Members
- def activate(): Unit
-
def
clear(): Unit
Removes all actions in the buffer
-
def
grab(): Vector[A]
Returns a vector of actions in the buffer and clears the buffer
-
def
list: Vector[A]
Returns a vector of actions contained in the buffer without clearing it
-
def
notify(pub: Publisher[A], action: A): Unit
- Definition Classes
- ActionBuffer → Subscriber
- def suspend(): Unit