openhealthcare / open-prescribing

Other
4 stars 2 forks source link

API event queue #18

Closed davidmiller closed 11 years ago

davidmiller commented 11 years ago

JS could happily be refactored to use some kind of datasource event queue - listen for these events and once all have happened, fire this callback.

Doing this declaratively ATM but unlikely to scale particularly nicely.

davidmiller commented 11 years ago

Halfway house of fetchall and dataflags in prescribing.js probably good enough for now. Re-factor when you need it not when it seems cool :)