Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/impaler/omni-utils
Small collection of Haxe utility classes
https://github.com/impaler/omni-utils
Last synced: about 2 months ago
JSON representation
Small collection of Haxe utility classes
- Host: GitHub
- URL: https://github.com/impaler/omni-utils
- Owner: impaler
- License: mit
- Created: 2013-08-01T01:46:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-28T11:37:05.000Z (over 11 years ago)
- Last Synced: 2023-03-23T02:12:06.661Z (almost 2 years ago)
- Language: JavaScript
- Size: 664 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Omni-Utils
==========General purpose cross platform Haxe classes:
### OSignals
Includes a Type safe Signal system that is also tightly integrated with the OpenFL event system.
Tested with:
- JS
- SWF
- CPP
- NEKOBasic usage:
```
var hello = new OSignal();
hello.add(funciton(){trace("Hello World")});
hello.dispatch();
```OSignals has added advantage of methods such as `addOnce`, `addFirst`, `exists`, `remove`, `removeAll` and `numListeners`.
See the `./tests/signals/*` for example usage.The OSignals have munit test written to demonstrate the api and maintain stability.
Inspired on work by ralcr/sdk.ralcr and robertpenner/as3-signals