phaser3-rex-notes
phaser3-rex-notes copied to clipboard
waitEvent clear method
Please add for this class method of forced cleanup(with/no completion signal) . This is useful when one of the actions may fail and never emit complete signal. Thx.
var callback = waitevents.waitCallback();
This callback is a function object, invoked when waiting event finished. You can invoke it (i.e. callback()) manually when you want to remove/cleanup it.