BlockContext

object BlockContext
class Object
trait Matchable
class Any

Value members

Concrete methods

Returns

the BlockContext that would be used for the current java.lang.Thread at this point

Source
BlockContext.scala

The default block context will execute the supplied thunk immediately.

The default block context will execute the supplied thunk immediately.

Returns

the BlockContext that will be used if no other is found.

Source
BlockContext.scala
final def usingBlockContext[I, T](blockContext: BlockContext)(f: BlockContext => T): T

Installs the BlockContext blockContext around the invocation to f and passes in the previously installed BlockContext to f.

Installs the BlockContext blockContext around the invocation to f and passes in the previously installed BlockContext to f.

Returns

the value produced by applying f

Source
BlockContext.scala
final def withBlockContext[T](blockContext: BlockContext)(body: => T): T

Installs a current BlockContext around executing body.

Installs a current BlockContext around executing body.

Source
BlockContext.scala