eventbeacon

An event emitter
https://github.com/eventbeacon/eventbeacon-haxe

To install, run:

haxelib install eventbeacon 0.1.1 

See using Haxelib in Haxelib documentation for more information.

README.md

eventbeacon

Eventbeacon in HaXe

How to use it

import eventbeacon.Beacon;

// ...

var beacon = new Beacon();
beacon.on('test', function(event) {
	// Getting the payload of the event
	trace(event.data);
});

beacon.trigger('test', 'Triggered that test event. Super cool.');

License

Eventbeacon is public domain. If that does not work for you, feel free to use it under terms of the MIT license instead.

Contributors
stoney
Version
0.1.1
Published
3 years ago
License
Public

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github