stage.sendMessage('myMessage'); message is not sent
stage.sendMessage('myMessage', {}); message is sent
stage.sendMessage('myMessage', undefined); message is sent
stage.sendMessage('myMessage', null); message is sent
I would expect the first example to still send a message. Use case is to achieve the same behavior as myEventEmitter.trigger('myMessage');
stage.sendMessage('myMessage');
message is not sentstage.sendMessage('myMessage', {});
message is sentstage.sendMessage('myMessage', undefined);
message is sentstage.sendMessage('myMessage', null);
message is sentI would expect the first example to still send a message. Use case is to achieve the same behavior as
myEventEmitter.trigger('myMessage');