Attributes
- Companion
- trait
- Source
- BlockContext.scala
- Graph
-
- Supertypes
- Self type
-
BlockContext.type
Members list
Value members
Concrete methods
Attributes
- Returns
-
the
BlockContextthat would be used for the currentjava.lang.Threadat 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.
Attributes
- Returns
-
the
BlockContextthat will be used if no other is found. - Source
- BlockContext.scala
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.
Type parameters
- I
-
unused type parameter (kept for binary compatibility)
- T
-
the result type of
f
Value parameters
- blockContext
-
the
BlockContextto install for the duration off - f
-
the function to execute, receiving the previously installed
BlockContextas its argument
Attributes
- Returns
-
the value produced by applying
f - Source
- BlockContext.scala
Installs a current BlockContext around executing body.
Installs a current BlockContext around executing body.
Type parameters
- T
-
the result type of
body
Value parameters
- blockContext
-
the
BlockContextto install for the duration ofbody - body
-
the code to execute with the given
blockContextinstalled
Attributes
- Source
- BlockContext.scala