Closed samuelg closed 10 years ago
Alternate implementation of #5 so we can write:
current_playback.on_event('PlaybackFinished', my_callback, foo, bar, baz=True)
instead of:
current_playback.on_event('PlaybackFinished', my_callback, callback_args=[foo, bar], callback_keywords = {'baz': True})
Also added a unit test for passing arbitrary parameters to a callback handler.
Looks good to me.
Alternate implementation of #5 so we can write:
instead of:
Also added a unit test for passing arbitrary parameters to a callback handler.