ComponentInstance
final class ComponentInstance[F[_], AS, M, CS, P, E](nodeId: Id, sessionId: Qsid, frontend: Frontend[F], eventRegistry: EventRegistry[F], stateManager: StateManager[F], getRenderNum: () => Int, val component: Component[F, CS, P, E], stateQueue: Queue[F, (Id, Any, Option[() => 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, recovery: PartialFunction[Throwable, F[Unit]])(implicit evidence$1: Effect[F], evidence$2: StateSerializer[AS], evidence$3: StateDeserializer[AS], evidence$4: StateSerializer[CS], evidence$5: StateDeserializer[CS])
Component state holder and effects performer
Performing cycle:
- prepare()
- Optionally setState()
- applyRenderContext()
- dropObsoleteMisc()
- Type parameters:
- AS
Type of top level state (application state)
- CS
Type of component state
Value members
Concrete methods
def applyRenderContext(parameters: P, rc: StatefulRenderContext[Binding[F, AS, M]], snapshot: Snapshot): Unit
Close 'pendingEffects' in this component and all nested components.
Close 'pendingEffects' in this component and all nested components.
MUST be invoked after closing connection.
Remove all delays and nested component instances which were not marked during applying render context.
Remove all delays and nested component instances which were not marked during applying render context.