invoke

Convenience operator function that runs this Application as a Composable.

This delegates to runIced so the application can be invoked with myApplication() where myApplication is an Application<Model, Message>.

Receiver

The Application instance to run.

Parameters

Model

The application's state type.

Message

The type of messages that can update the state.