korolev
package korolev
Type members
Classlikes
Component definition. Every Korolev application is a component. Extent it to declare component in object oriented style.
Component definition. Every Korolev application is a component. Extent it to declare component in object oriented style.
- Type parameters:
- E
Type of events produced by component
- F
Control monad
- S
State of the component
- Value parameters:
- id
Unique identifier of the component. Use it when you create component declaration dynamically
- Companion:
- object
Provides DSLs and effects for application or component
Provides DSLs and effects for application or component
- Since:
0.6.0
- Companion:
- object
Qualified Session Identifier
Qualified Session Identifier
final case class Router[F[_], S](fromState: PartialFunction[S, PathAndQuery], toState: PartialFunction[PathAndQuery, S => F[S]])
URL routing definition
URL routing definition
- Type parameters:
- F
A async control
- S
Type of State
- Value parameters:
- fromState
From current state to Uri
- toState
From Uri to state
- Companion:
- object