Actions
Feature #4698
closedImprove ScopedEventId
Start date:
Due date:
% Done:
100%
Estimated time:
3.00 h
Description
Currently, ScopedEventId
is not constructible from the return value of Scheduler::scheduleEvent
, but separately requires a reference to a Scheduler
instance to be passed to its constructor.
This issue is to refactor both types, so that:
scheduler::EventId
contains a reference to theScheduler
instance. It serves as an "unscoped EventId".scheduler::EventId
is convertible toScopedEventId
.
This improves the overall usability of these APIs.
Actions