Minimal LiveView-style per-window process abstraction for Guppy.
Modules that use Guppy.Window own one native window per process.
Guppy opens the window with the module's initial IR, routes native events
back into the process, and rerenders automatically after window state changes.
The window struct is the primary state carrier, similar to a socket-like view state.
Required callbacks:
Optional callbacks:
Modules may also define handle_info(message, window) without marking it as a
Guppy.Window callback; Guppy routes ordinary process messages there by convention.
Missing optional handlers and unmatched handler clauses are treated as no-op
handlers that skip rerendering. use Guppy.Window also defines child_spec/1,
so window modules can be supervised directly.
Summary
Functions
Returns the reopen retry delay for a failed-reopen attempt count.
Types
Callbacks
Functions
Returns the reopen retry delay for a failed-reopen attempt count.
Delays double from 50ms and cap at 5000ms so a persistently failing runtime is not hammered with reopen attempts.