korolev

package korolev

Members list

Concise view

Type members

Classlikes

abstract class Component[F[_], S, P, E](val initialState: S, val id: String)

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.

Attributes

E

Type of events produced by component

F

Control monad

S

State of the component

id

Unique identifier of the component. Use it when you create component declaration dynamically

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Component

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final class Context[F[_], S, M] extends Scope[F, S, S, M]

Provides DSLs and effects for application or component

Provides DSLs and effects for application or component

Attributes

Since:

0.6.0

Companion:
object
Graph
Supertypes
class Scope[F, S, S, M]
class Object
trait Matchable
class Any
object Context

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Context.type
trait Extension[F[_], S, M]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Extension

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Metrics

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Metrics.type
case class Qsid(deviceId: DeviceId, sessionId: SessionId)

Qualified Session Identifier

Qualified Session Identifier

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Router[F[_], S](fromState: PartialFunction[S, PathAndQuery], toState: PartialFunction[PathAndQuery, S => F[S]])

URL routing definition

URL routing definition

Attributes

F

A async control

S

Type of State

fromState

From current state to Uri

toState

From Uri to state

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Router

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Router.type

Types

type Transition[S] = S => S
type TransitionAsync[F[_], S] = S => F[S]

Value members

Concrete fields

val *&: *&.type
val /: /.type
val :&: :&.type
val :?: :?.type
val :?*: :?*.type
val Root: Root.type