---
url: >-
  https://lit-ui-router.dev/v1/reference/lit-ui-router-effect/interfaces/RefRuntime.md
---
[lit-ui-router-effect](../index.md) / 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>`](https://effect.website/docs/runtime/#managedruntime)
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`](https://effect.website/docs/concurrency/fibers/)<`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 |
