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.
func RememberCoroutineScope ¶ added in v0.1.94
func RememberCoroutineScope(c api.Composer) lifecycle.CoroutineScope
Types ¶
type CoroutineScope ¶ added in v0.1.94
type CoroutineScope struct {
// contains filtered or unexported fields
}
func (*CoroutineScope) Context ¶ added in v0.1.94
func (c *CoroutineScope) Context() (context.Context, bool)
func (*CoroutineScope) Launch ¶ added in v0.1.94
func (c *CoroutineScope) Launch(block func(ctx context.Context))
func (*CoroutineScope) MustContext ¶ added in v0.1.98
func (c *CoroutineScope) MustContext() context.Context
func (*CoroutineScope) SetCoroutineScope ¶ added in v0.1.98
func (c *CoroutineScope) SetCoroutineScope(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.