PatchbayLifecycleStateReader typedef

PatchbayLifecycleStateReader = AppLifecycleState? Function()

Reads the App lifecycle state a *LifecycleNotResumed rejection reports.

This is a diagnostic seam, never the decision: isAppResumed still says whether the request is admitted. Keeping them apart is what lets a consumer override the decision — a headless harness, a test — without also having to invent a lifecycle state for it to report.

Implementation

typedef PatchbayLifecycleStateReader = AppLifecycleState? Function();