Futurize NetworkInterfaceTL::setAlarm

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2024-08-19, Programmability 2024-09-02, Programmability 2024-09-16, Programmability 2024-09-30
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The current implementation of NetworkInterfaceTL::setAlarm takes a callback to be invoked at the specified time. Change setAlarm to instead return a Future<void> that will fire at the specified time. Further, add support for taking a CancellationToken and remove cancelAlarm. Propagate changes to ThreadPoolTaskExecutor to adapt to the new API.

            Assignee:
            James Bronsted
            Reporter:
            James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: