object AsyncRenderComet
- Alphabetic
- By Inheritance
- AsyncRenderComet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asyncRender(renderFunction: () ⇒ JsCmd): Box[Unit]
Render the given function on a separate thread and send the resulting JavaScript to the current page when the function completes.
Render the given function on a separate thread and send the resulting JavaScript to the current page when the function completes. Wraps the function so that it is executed in the current request and session context.
Returns a
Failure
if something went wrong with setting up the asynchronous render. -
def
asyncRenderDeferred(renderFunction: () ⇒ JsCmd): Box[Unit]
Similar to
asyncRender
, but any wrapping of the function in a request context is expected to be done beforerenderFunction
is passed to this, whileasyncRender
takes care of the wrapping for you. -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
completeAsyncRender(command: JsCmd): Box[Unit]
If you're going to be managing the asynchronicity of the render externally (e.g., with futures), call this when you're ready to render your results and the rendering will be sent down to the client.
If you're going to be managing the asynchronicity of the render externally (e.g., with futures), call this when you're ready to render your results and the rendering will be sent down to the client.
When possible, prefer the use of the
lazy
snippet, theasyncRender
function, or theCanBind
implicits forFuture
andLAFuture
.Returns a
Failure
if something went wrong with looking up the asynchronous renderer. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
setupAsync: Box[Unit]
If you're going to be managing the asynchronicity of the render externally, make sure to call this so that the async plumbing will be set up on the page when it gets sent down.
If you're going to be managing the asynchronicity of the render externally, make sure to call this so that the async plumbing will be set up on the page when it gets sent down.
When possible, prefer the use of the
lazy
snippet, theasyncRender
function, or theCanBind
implicits forFuture
andLAFuture
.Returns a
Failure
if something went wrong with setting up the asynchronous render. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )