Package-level declarations

Types

Link copied to clipboard
class Form<A>(val contents: @Composable (A) -> A)

Utility to facilitate the creation of re-usable data entry forms with a strongly-typed API in Jetpack Compose.

Link copied to clipboard
interface FormScope<A>

Functions

Link copied to clipboard
fun <A> Signal<A>.composeState(): State<A>

Utility function to assist with using a io.github.yafrl.Signal in Jetpack Compose, by converting it to a androidx.compose.runtime.State.

Link copied to clipboard
fun newComposeFrameClock(scope: CoroutineScope, paused: Behavior<Boolean>): Event<Duration>

Utility to get an every that fires for every frame in a Jetpack Compose application.

Link copied to clipboard
@Composable
fun YafrlCompose(timeTravelDebugger: Boolean = false, debugLogs: Boolean = false, showFPS: Boolean = false, lazy: Boolean = true, body: @Composable () -> Unit)

Wraps the passed body in a container with controls for use in time-travel debugging.