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
Click to show internal directories.
Click to hide internal directories.