Ну это не совсем callback.
Так по моему нагляднее будет
Так по моему нагляднее будет
Код |
---|
BX.ajax.runComponentAction('custom:custom', 'sendMessage', { mode: 'class', }) .then((response) => { }) .catch((response) => { }); |