oneTimeOn method
Implementation
EventHandler oneTimeOn(String name, EventFn fn) {
var main =
_mainEventHandler[name] = _mainEventHandler[name] ?? EventPool(name);
return main.oneTimeOn(fn);
}
EventHandler oneTimeOn(String name, EventFn fn) {
var main =
_mainEventHandler[name] = _mainEventHandler[name] ?? EventPool(name);
return main.oneTimeOn(fn);
}