NoChange

rescala.structure.Pulse.NoChange
case object NoChange extends Pulse[Nothing]

Pulse indicating no change

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Pulse[Nothing]
class Object
trait Matchable
class Any
Show all
Self type
NoChange.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Inherited methods

def collect[U](pf: PartialFunction[Nothing, U]): Pulse[U]

Attributes

Inherited from:
Pulse
def filter(p: Nothing => Boolean): Pulse[Nothing]

If the pulse indicates a change: Applies a filter function to the updated value of the pulse. Based on the filter function, the updated value is retained or an empty pulse is returned. If the pulse doesn't indicate a change: Returns an empty pulse indicating no change.

If the pulse indicates a change: Applies a filter function to the updated value of the pulse. Based on the filter function, the updated value is retained or an empty pulse is returned. If the pulse doesn't indicate a change: Returns an empty pulse indicating no change.

Value parameters

p

Filter function to be applied to the updated pulse value

Attributes

Returns

A pulse with the updated pulse value if the filter function returns true, an empty pulse otherwise

Inherited from:
Pulse
def flatMap[Q](f: Nothing => Pulse[Q]): Pulse[Q]

If the pulse indicates a change: Applies a function to the updated value. The function has to return a new pulse that is returned by this function. If the pulse doesn't indicate a change: Returns an empty pulse indicating no change.

If the pulse indicates a change: Applies a function to the updated value. The function has to return a new pulse that is returned by this function. If the pulse doesn't indicate a change: Returns an empty pulse indicating no change.

Type parameters

Q

Value type of the pulse returned by the applied function

Value parameters

f

Function to be applied on the updated pulse value

Attributes

Returns

Pulse returned by the applied function or an empty pulse if there is no updated value

Inherited from:
Pulse
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def get: Nothing

Attributes

Inherited from:
Pulse
def getOrElse[U](default: => U): U

Attributes

Inherited from:
Pulse
final def isChange: Boolean

Checks if the pulse indicates a change

Checks if the pulse indicates a change

Attributes

Returns

True if the pulse indicates a change, false if not

Inherited from:
Pulse
def map[Q](f: Nothing => Q): Pulse[Q]

If the pulse indicates a change: Applies a function to the updated value of the pulse and returns a new pulse indicating a change to this updated value. If the pulse doesn't indicate a change: Returns an empty pulse indicating no change.

If the pulse indicates a change: Applies a function to the updated value of the pulse and returns a new pulse indicating a change to this updated value. If the pulse doesn't indicate a change: Returns an empty pulse indicating no change.

Type parameters

Q

Result type of the applied function

Value parameters

f

Function to be applied on the updated pulse value

Attributes

Returns

Pulse indicating the update performed by the applied function or an empty pulse if there is no updated value

Inherited from:
Pulse

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def toOption: Option[Nothing]

Attributes

Inherited from:
Pulse
def toOptionTry: Option[Try[Nothing]]

converts the pulse to an option of try

converts the pulse to an option of try

Attributes

Inherited from:
Pulse