Event.Subscriber
(
fn
,
obj
,
args
)
- Parameters:
-
fn <Function>The wrapped function to execute -
obj <Object>An object to be passed along when the event fires -
args <Array>subscribe() additional arguments