Closed Mr-Pepe closed 10 months ago
This is a breaking change.
Callbacks were typed as Function which is too broad. This change tightens the types to void Function(QuizSummary) and void Function(int). Furthermore, the methods for adding callbacks do not accept null anymore.
Function
void Function(QuizSummary)
void Function(int)
null
Current dependencies on/for this PR:
main
This stack of pull requests is managed by Graphite.
This is a breaking change.
Callbacks were typed as
Function
which is too broad. This change tightens the types tovoid Function(QuizSummary)
andvoid Function(int)
. Furthermore, the methods for adding callbacks do not acceptnull
anymore.