Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daemon API and Shell Runtime Unification #2469

Merged
merged 6 commits into from
Jun 19, 2024
Merged

Daemon API and Shell Runtime Unification #2469

merged 6 commits into from
Jun 19, 2024

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Jun 19, 2024

This PR unifies the single-window and multi-window shell runtimes in iced_winit and introduces a new Daemon API for running iced programs in the background.

The Daemon API is analogous to the Program API (now renamed to Application API) but, unlike Program, a Daemon won't open a window by default and also won't terminate the process when the last window is closed.

Effectively, a Daemon lets you run an iced program in the background while waiting for some subscription to trigger and open and close windows at will. A Daemon will only terminate when the exit task has been returned by its update logic.

Rendering seems to still not work, however.
WebGL is still broken, but oh well... Time to move on.
@hecrj hecrj added feature New feature or request shell change addition labels Jun 19, 2024
@hecrj hecrj added this to the 0.13 milestone Jun 19, 2024
@hecrj hecrj merged commit 714d450 into master Jun 19, 2024
24 checks passed
@hecrj hecrj deleted the unify-shell-runtimes branch June 19, 2024 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant