object AsyncRenderComet
- Alphabetic
- By Inheritance
- AsyncRenderComet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
Failureif 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 beforerenderFunctionis passed to this, whileasyncRendertakes care of the wrapping for you. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
lazysnippet, theasyncRenderfunction, or theCanBindimplicits forFutureandLAFuture.Returns a
Failureif something went wrong with looking up the asynchronous renderer. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
lazysnippet, theasyncRenderfunction, or theCanBindimplicits forFutureandLAFuture.Returns a
Failureif 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()