RunNow

utest.framework.ExecutionContext.RunNow
object RunNow extends ExecutionContext

ExecutionContext which runs any queued operations immediately.

Useful if you don't want to deal with all the multithreading stuff, as you can be sure the result will be ready as soon as any "async" calls return.

Attributes

Graph
Supertypes
trait ExecutionContext
class Object
trait Matchable
class Any
Self type
RunNow.type

Members list

Value members

Concrete methods

def execute(runnable: Runnable): Unit
def reportFailure(t: Throwable): Unit

Deprecated and Inherited methods

def prepare(): ExecutionContext

Attributes

Deprecated
[Since version 2.12.0] preparation of ExecutionContexts will be removed
Inherited from:
ExecutionContext