helpful-continent-74245
11/08/2018, 5:02 AMonObjectCreated
calls createFunctionFromEventHandler
which create the function using the following line:
return new CallbackFunction(name, { callback: handler }, opts);
In CallbackFunction
, the role
is supposed to be passed as second argument but it can only be { callback: handler }
from the call