utils

library that contains various utility classes
https://github.com/peteshand/utils

To install, run:

haxelib install utils 1.1.5 

See using Haxelib in Haxelib documentation for more information.

README.md

Overview

FunctionUtil

This is a small utility class that adds functionality for dispatching functions where the structure of the function is not defined at compile time.

import haxe.Constraints.Function;

using utils.FunctionUtil;

function somefunction(callback:Function, params:Array<Dynamic>) 
{
	callback.dispatch(params);
}

It should be noted that that if the function structure and the length of the array do not match an error will be thrown.

Contributors
p.j.shand
Version
1.1.5
Published
5 years ago
License
MIT

All libraries are free

Every month, more than a 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