MEDYAN.addreactioncallback!Tuple{MEDYAN.SysDef, AbstractString, Float64, Int64, Any}Like addreaction! but also adds callback. callback is called when the reaction happens with input of MEDYAN.Context and Int the chem_voxel id where the reaction happened.
The callback should handle updating species counts.