Closed mikepuerto closed 8 years ago
@mikepuerto you could do something along these lines:
var listener = someFsm.on("someEvent", function() {
// do event handler-y things
listener.off();
});
I'm going to close the issue, but feel free to follow up if you have more questions. I'll mark this for consideration in future features as well.
As there is no built in "once" event handler, is there any recommended way to achieve this?