an asynchronous version of facebook's flux pattern