Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve readability of backend implementations with simpler interface…
… to platform + Help distinguish between subscriptions and tasks/commands: Explicitly group them under 'Subs' and 'Cmds' in the API. + Simplify event handling code in apps: Remove dependency on the static event type that caused boilerplate code in simpler apps. + Do not require app developers to generate unique task IDs anymore: Support using a function to handle the resulting event instead. + Refine names: Use 'Command' instead of 'Task'. + Abbreviate names to 'Cmd' and 'Sub' for similarity with other Elm platforms. + Update only a part of the example projects to the new interface to clarify both API versions still work with this engine version.
- Loading branch information