Simple Haxe Signal API implementation