-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Derek Leung edited this page Aug 23, 2017
·
23 revisions
Beware! Work in progress.
Hypebus allows developers to add other adapters for different APIs other than using the default CUMTD API. This documentation aims to describe the standard interfaces that will be used in the Transit service.
An adapter is an Angular service that implements TransitAdapterInterface. All data retrievals within the app will be done through Transit, which will then invoke certain TransitAdapterInterface methods from the adapter.
Angular Promises are used in the majority of the code. To avoid issues, use Angular's $q
instead of ES6+ Promises or any other then-able objects.