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
- All
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], notifyStateChange: (Id, Any) ⇒ F[Unit], 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)(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( ... ) @native() @HotSpotIntrinsicCandidate()
- 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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated