linaGirl / ee-soa-transport-rest

restful transport implementation for ee-soa
0 stars 0 forks source link

Error handling / loading #13

Open linaGirl opened 10 years ago

linaGirl commented 10 years ago

What was exactly the purpose of the «useTransport» method? I don't remeber it anymore.

You start loading the websites & middlewares as soon the useTransport method is called. Errors are emitted. But there is nobody listening on the load event since it doesn't tell when we're finished with loading. Errors must be passed to the onLoad callback.