Event.Control.X.Basic

abstract class Basic[A <: AnyRef](_target: A) extends Event.Control
Source
X.scala
class java.lang.Object
trait scala.Matchable
class Any

Def

def cancel: Boolean
Source
X.scala
def cancelIf(f: () => Boolean): Event.Control.X.Basic[A]
Source
X.scala
def cancelIfFalse(b: => Boolean): Event.Control

Conditionally cancel

Conditionally cancel

Adds check to conditionally cancell the event. It will be evaluated at least before each event execution.

Inherited from
Control
Source
__.scala
def cancelIfTrue(b: => Boolean): Event.Control

Conditionally cancel

Conditionally cancel

Adds check to conditionally cancell the event. It will be evaluated at least before each event execution.

Inherited from
Control
Source
__.scala

Cancel in given time

Cancel in given time

Adds check to conditionally cancell the event when given time length passes.

Inherited from
Control
Source
__.scala
protected def fireOnCancel: Unit
Source
X.scala
def isCancelled: Boolean
Source
X.scala
def limitRunsTo(maxRunCount: Int): Event.Control

Cancel after given execution count.

Cancel after given execution count.

Inherited from
Control
Source
__.scala
def onCancel[U](f: () => U): Event.Control.X.Basic[A]
Source
X.scala
def onCancelRun[U](f: => U): Event.Control

On cancel event

On cancel event

Adds code to execute when the event is cancelled

Inherited from
Control
Source
__.scala
def removeHardReference: AnyRef
Source
X.scala
protected def targetOpt: Opt[A]
Source
X.scala