Looking at the code that doesn't seem possible... ...
# general
h
Looking at the code that doesn't seem possible... The
onObjectCreated
calls
createFunctionFromEventHandler
which create the function using the following line:
Copy code
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