lit-ui-router-effect / RefRuntime
Interface: RefRuntime
Defined in: lit-ui-router-effect/src/ref-controller.ts:19
The slice of a runtime the controllers need. Effect.runFork / Effect.runSync on the default runtime unless one is given; a ManagedRuntime<R> satisfies it because the controllers' effects require nothing from R. It runs the controllers' own fibers; it does not provide services to a selector, which stays a plain function over the values.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
runFork | readonly | (effect, options?) => Fiber<unknown, unknown> | starts an effect on a fiber the controller interrupts on disconnect, on options.scheduler when given | lit-ui-router-effect/src/ref-controller.ts:24 |
runSync | readonly | <A>(effect) => A | runs a synchronous effect, used to read a ref's current value | lit-ui-router-effect/src/ref-controller.ts:29 |