This question is locked. New answers and comments are not allowed.
I am wondering what the best way is to use general purpose code from within cloud functions. For, example I have several cloud functions from where I want to be able to send an SMS through Twilio integration. So I was thinking to define a cloud function that does general purpose SMS sending, that I could call from another cloud function. Is this the recommended approach? I wouldn't want to repeat very similar code in several cloud functions.
I tried something like this which did not work:
Everlive.Sdk.withMasterKey().businessLogic.invokeCloudFunction(
'sendSms'
, params)
Thanks!