Interrupt

com.ossuminc.riddl.utils.Interrupt
See theInterrupt companion object
final class Interrupt extends () => Boolean

Attributes

Companion
object
Source
Interrupt.scala
Graph
Supertypes
trait () => Boolean
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

sealed trait State

Attributes

Source
Interrupt.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def apply(): Boolean

This is the signal to cancel the execution of the logic.

This is the signal to cancel the execution of the logic. Returns whether the cancellation signal was successfully issued or not.

Attributes

Definition Classes
Source
Interrupt.scala
def cancel(): Unit

Attributes

Source
Interrupt.scala
def interruptibly[T](block: => T): T

Executes the supplied block of code and returns the result.

Executes the supplied block of code and returns the result. Throws CancellationException if the block was interrupted.

Attributes

Source
Interrupt.scala
def ready: Boolean

Attributes

Source
Interrupt.scala

Inherited methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function0 -> Any
Inherited from:
Function0