phaser3-rex-notes icon indicating copy to clipboard operation
phaser3-rex-notes copied to clipboard

waitEvent clear method

Open iKest opened this issue 7 years ago • 1 comments

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.

iKest avatar Dec 22 '18 22:12 iKest

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.

rexrainbow avatar Dec 25 '18 03:12 rexrainbow