Alternative approach to reactive APIs