package platform

// Runner starts a backend's event loop on the calling goroutine (which must
// be the main goroutine: macOS requires it) and runs app on another
// goroutine. Run returns when app returns.
type Runner func(app func(Backend) error) error
