Skip to content

peteshand/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages