Why does the createEvent/createEvents functions take callbacks as argument? wouldn't it be easier if the function returned the string directly?
Also why does the function not throw errors instead of returning an error object? isn´t it the purpose of thowing errors?
Why does the createEvent/createEvents functions take callbacks as argument? wouldn't it be easier if the function returned the string directly? Also why does the function not throw errors instead of returning an error object? isn´t it the purpose of thowing errors?