Function for a custom emoji.
Example for stopping the instance from awaiting from further reacts:
(user, instance) => {
// Either
throw 'stopped';
// or
return Promise.reject('stopped');
// will stop the instance from awaiting reacts.
// Passing an error object will emit the `error` event.
};
Generated using TypeDoc
Function for a custom emoji.
Example for stopping the instance from awaiting from further reacts:
(user, instance) => { // Either throw 'stopped'; // or return Promise.reject('stopped'); // will stop the instance from awaiting reacts. // Passing an error object will emit the `error` event. };