The mixed "data" attribute is mostly unused and can easily be replaced by closure binding instead. This also prepares the timer instance to become an immutable data structure.
These can easily be replaced by Loop::cancelTimer() and Loop::isTimerActive(). This change ensures that timers are now a plain immutable data structure and offer no methods to change its state. This also prepares the timer to remove the cyclic dependency with the loop instance.
nrk approved these changes Apr 27, 2017
jsor approved these changes Apr 28, 2017
clue deleted the timers branch
April 28, 2017 19:39
clue
mentioned this pull request
Merged
clue
mentioned this pull request
Merged
clue
mentioned this pull request
Merged
clue
mentioned this pull request
Merged
clue
mentioned this pull request
Merged
This was referenced
Jul 29, 2018Merged
Merged
clue
mentioned this pull request
Closed