final class ComponentInstance[F[_], AS, M, CS, P, E] extends AnyRef
Component state holder and effects performer
Performing cycle:
1. prepare() 2. Optionally setState() 3. applyRenderContext() 4. dropObsoleteMisc()
- AS
Type of top level state (application state)
- CS
Type of component state
- Self Type
- ComponentInstance[F, AS, M, CS, P, E]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ComponentInstance
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ComponentInstance(nodeId: Id, sessionId: Qsid, frontend: Frontend[F], eventRegistry: EventRegistry[F], stateManager: StateManager[F], getRenderNum: () => Int, component: Component[F, CS, P, E], stateQueue: Queue[F, (Id, Any)], createMiscProxy: (StatefulRenderContext[Binding[F, AS, M]], (StatefulRenderContext[Binding[F, CS, E]], Binding[F, CS, E]) => Unit) => StatefulRenderContext[Binding[F, CS, E]], scheduler: Scheduler[F], reporter: Reporter, recovery: PartialFunction[Throwable, F[Unit]])(implicit arg0: Effect[F], arg1: StateSerializer[AS], arg2: StateDeserializer[AS], arg3: StateSerializer[CS], arg4: StateDeserializer[CS])
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
- def applyEvent(eventId: EventId): Boolean
- def applyRenderContext(parameters: P, rc: StatefulRenderContext[Binding[F, AS, M]], snapshot: Snapshot): Unit
- def applyTransition(transition: Transition[CS], sync: Boolean): F[Unit]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val component: Component[F, CS, P, E]
- def destroy(): F[Unit]
Close 'immediatePendingEffects' in this component and all nested components.
Close 'immediatePendingEffects' in this component and all nested components.
MUST be invoked after closing connection.
- def dropObsoleteMisc(): Unit
Remove all delays and nested component instances which were not marked during applying render context.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def initialize()(implicit ec: ExecutionContext): F[Fiber[F, Unit]]
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def setEventsSubscription(callback: Function1[E, _]): Unit
Subscribes to component instance events.
Subscribes to component instance events. Callback will be invoked on call of
access.publish()
in the component instance context. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsafeInitialize(): Unit
- Attributes
- protected
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated