Nul-led / bevy_web_keepalive

Bevy plugins to keep a bevy app running in the browser despite not being visible
MIT License
13 stars 2 forks source link

Some fields are unclear footguns #7

Closed simbleau closed 5 months ago

simbleau commented 5 months ago

Most of the fields of plugins are undocumented, while the plugins are documented.

For example, scheduler_delay is unclear that it is the interval by which to wake and run the schedule if the window is alt-tabbed. Maybe that's a special case of bad naming rather than bad documentation. Perhaps wake_interval would be better.

But also, why is check_is_in_background really a flag? The general flow should be:

Nul-led commented 5 months ago

ill rename scheduler_delay to wake_interval then