lit-ui-router-effect / RefRuntime
Interface: RefRuntime
Defined in: ref-controller.ts:11
The slice of a runtime the controllers need. Effect.runFork / Effect.runSync on the default runtime unless one is given; a ManagedRuntime satisfies it directly, so an app with real layers keeps its fibers on the runtime it already owns.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
runFork | readonly | (effect) => RuntimeFiber<unknown, unknown> | starts an effect on a fiber the controller interrupts on disconnect | ref-controller.ts:13 |
runSync | readonly | <A>(effect) => A | runs a synchronous effect, used to read a ref's current value | ref-controller.ts:17 |