basic reusable flux dispatcher