Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ScrollRepeatServices Struct Reference

Existing scheduler services for held arrows and eligible fractional input transitions. Tree and borrowed callback captures must outlive the binding, node and admitted calls. The node's existing UiScope owns timer lifetime. now may throw; exceptions become CALLBACK_FAILED. Fractional profiles use the configured smoothDurationMs; integral profiles remain immediate. More...

#include <scroll_controls.hpp>

Public Attributes

std::function< SchedulerTime()> now
 Existing scheduler-clock milliseconds; required.
std::function< void(TreeError)> onError
 Required sink for asynchronous typed failures after cancellation.

Detailed Description

Existing scheduler services for held arrows and eligible fractional input transitions. Tree and borrowed callback captures must outlive the binding, node and admitted calls. The node's existing UiScope owns timer lifetime. now may throw; exceptions become CALLBACK_FAILED. Fractional profiles use the configured smoothDurationMs; integral profiles remain immediate.


The documentation for this struct was generated from the following file: