Cursor

trait Cursor[T <: Txn[T], D <: Txn[D]] extends Cursor[T] with Disposable[D] with Writable
Companion
object
trait Writable
trait Disposable[D]
trait Cursor[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

def data: Data[T, D]
def positionD(tx: D): Access[T]
def stepFrom[A](path: Access[T], retroactive: Boolean, systemTimeNanos: Long)(fun: T => A): A

Inherited methods

def dispose(tx: D): Unit
Inherited from
Disposable
def step[A](fun: T => A): A

Issues a new transaction (executor), runs the function argument on it, and returns the result.

Issues a new transaction (executor), runs the function argument on it, and returns the result.

Inherited from
Cursor
def stepTag[A](systemTimeNanos: Long)(fun: T => A): A

Issues a new transaction (executor), tagged with the given time referring to "now", runs the function argument on it, and returns the result.

Issues a new transaction (executor), tagged with the given time referring to "now", runs the function argument on it, and returns the result.

The tagging can be used for latency based circumstances, such as scheduling OSC bundles on a sound server.

Value Params
systemTimeNanos

Time in nano-seconds since midnight, January 1, 1970 UTC. E.g. System.currentTimeMillis() * 1000000000L (possibly adding nano-seconds fraction).

Inherited from
Cursor
def write(out: DataOutput): Unit
Inherited from
Writable