korolev.internal
package korolev.internal
Type members
Classlikes
final class ApplicationInstance[F[_], S, M](sessionId: Qsid, val frontend: Frontend[F], stateManager: StateManager[F], initialState: S, render: S => Node[Binding[F, S, M]], rootPath: Path, router: Router[F, S], createMiscProxy: (StatefulRenderContext[Binding[F, S, M]], (StatefulRenderContext[Binding[F, S, M]], Binding[F, S, M]) => Unit) => StatefulRenderContext[Binding[F, S, M]], scheduler: Scheduler[F], reporter: Reporter, recovery: PartialFunction[Throwable, S => S])(implicit evidence$1: Effect[F], evidence$2: StateSerializer[S], evidence$3: StateDeserializer[S])
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
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
final class EventRegistry[F[_]](frontend: Frontend[F])(implicit evidence$1: Effect[F], reporter: Reporter)
Save information about what type of events are already listening on the client
Save information about what type of events are already listening on the client