After fix done in #23, IOneSignalEventCallback is not used anymore.
Instead of hardcoding the callback type, we can turn the interface to a type and use it the way it was intended to be used from the beginning.
That way we can also use the callback type in other places in the future.
After fix done in #23, IOneSignalEventCallback is not used anymore. Instead of hardcoding the
callback
type, we can turn theinterface
to atype
and use it the way it was intended to be used from the beginning. That way we can also use the callback type in other places in the future.