SoundProcesses

class Object
trait Matchable
class Any

Value members

Concrete methods

def atomic[T <: Txn[LazyRef(...)], A](fun: T => A)(implicit cursor: Cursor[T]): Future[A]

Spawns a transactional function on the default executionContext. Throws an exception if this method is called within a transaction.

Spawns a transactional function on the default executionContext. Throws an exception if this method is called within a transaction.

'''Warning:''' This returns a future, which '''must''' be observed to handle errors that happen during the transaction. If the Future is ignored, the safer way is to call step which invokes an error handler in that case.

def init(): Unit

Registers all known types.

Registers all known types.

def step[T <: Txn[LazyRef(...)]](context: String)(fun: T => Unit)(implicit cursor: Cursor[T]): Unit

Spawns a transactional function on the default executionContext. Throws an exception if this method is called within a transaction.

Spawns a transactional function on the default executionContext. Throws an exception if this method is called within a transaction.

If an error occurs within the fun, errorHandler is invoked with the context string argument and the error.

def stepTag[T <: Txn[LazyRef(...)]](context: String)(fun: T => Unit)(implicit scheduler: Scheduler[T]): Unit

Concrete fields

var errorHandler: (String, Throwable) => Unit
final
val log: Logger
final
val logAural: Logger
final
val logTransport: Logger