Skip to content

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

PropertyModifierTypeDescriptionDefined in
runForkreadonly(effect) => RuntimeFiber<unknown, unknown>starts an effect on a fiber the controller interrupts on disconnectref-controller.ts:13
runSyncreadonly<A>(effect) => Aruns a synchronous effect, used to read a ref's current valueref-controller.ts:17