registerFunction static method
Implementation
static registerFunction(PipelineFunction fn, String label) {
if (registeredFunctions.containsKey(label)) {
Utils.warn('Overwriting existing registered function: $label');
}
//fn.label = label;
registeredFunctions[label] = fn;
functionsToName[fn] = label;
}