effect

package
v0.1.94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchedEffect

func LaunchedEffect(block func(context.Context), keys ...any) api.Composable

LaunchedEffect runs a side-effect in a goroutine. The effect is restarted if any of the keys change.

Types

type CoroutineScope added in v0.1.94

type CoroutineScope interface {
	lifecycle.HasCoroutineScope
	Context() context.Context
	Launch(block func(ctx context.Context))
}

func RememberCoroutineScope added in v0.1.94

func RememberCoroutineScope(c api.Composer) CoroutineScope

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL