Project

General

Profile

Feature #4698

Updated by Davide Pesavento over 5 years ago

Currently, `ScopedEventId` is not constructible convertible from the return value of `Scheduler::scheduleEvent`, but separately requires a reference to a of the `Scheduler` instance to be passed to its constructor. construct. 
 This issue is to refactor both types, so that: 

 * `scheduler::EventId` contains a reference to of the `Scheduler` instance. It serves as an "unscoped EventId". 
 * `scheduler::EventId` is convertible to `ScopedEventId`. 

 This improves the overall usability of these APIs.

Back