final class RouterLogicF[F[_], Page, Props] extends BroadcasterF[F, Unit]
Performs all routing logic.
- Page
Routing rules context. Prevents different routing rule sets being mixed up.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RouterLogicF
- BroadcasterF
- ListenableF
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RouterLogicF(baseUrl: BaseUrl, cfg: RouterWithPropsConfigF[F, Page, Props])
- baseUrl
The prefix of all routes in a set.
Type Members
- type Action = ActionF[F, Page, Props]
- type Redirect = router.Redirect[Page]
- type Renderer = RendererF[F, Page, Props]
- type Resolution = ResolutionWithProps[Page, Props]
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseUrl: BaseUrl
- def broadcast(a: Unit): F[Unit]
- Attributes
- protected
- Definition Classes
- BroadcasterF
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val ctl: RouterCtlF[F, Page]
- val ctlByPath: RouterCtlF[F, Path]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- implicit def impbaseurl: BaseUrl
- Attributes
- protected
- Annotations
- @inline()
- def interpret[A](r: RouteCmd[A]): F[A]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listenableEffect: Sync[F]
- Attributes
- protected
- Definition Classes
- RouterLogicF → ListenableF
- final def listenerIterator: Iterator[(Unit) => F[Unit]]
- Attributes
- protected
- Definition Classes
- BroadcasterF
- def log(msg: => String): Log
- Attributes
- protected
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def parseUrl(url: AbsUrl): Option[Path]
- def redirect(r: Redirect): F[RouteCmd[Resolution]]
- def redirectToPath(path: Path, via: SetRouteVia): F[RouteCmd[Resolution]]
- def register(listener: (Unit) => F[Unit]): F[F[Unit]]
Register a listener.
Register a listener.
- listener
The listener/consumer. A procedure that receives data of type A.
- returns
A procedure to unregister the given listener.
- Definition Classes
- BroadcasterF → ListenableF
- final def registerF[G[_]](listener: (Unit) => G[Unit])(implicit G: Dispatch[G]): F[F[Unit]]
- Definition Classes
- ListenableF
- def render(r: Resolution, props: Props): VdomElement
- def resolveAction(a: Action): F[Either[RouteCmd[Resolution], Renderer]]
- def resolveAction(page: Page, action: Action): F[RouteCmd[Resolution]]
- def resolveActionForPage(path: Path, page: Page): F[RouteCmd[Resolution]]
- def setPath(path: Path, via: SetRouteVia): RouteCmd[Unit]
- def syncToPath(path: Path): F[RouteCmd[Resolution]]
- def syncToUrl(url: AbsUrl): F[RouteCmd[Resolution]]
- val syncToWindowUrl: F[Resolution]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withEffect[G[_]](implicit G: Sync[G]): RouterLogicF[G, Page, Props]
- def wrongBase(wrongUrl: AbsUrl): F[RouteCmd[Resolution]]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)