Skip to content

Workflow inside Trip.js (When to call onXYZ callbacks)

EragonJ edited this page Jul 3, 2014 · 3 revisions

Normal workflow

  • If your Trip goes well without any disruption, the normal workflow would be like this :

flow chart

  • If users stop Trip accidentally, the workflow would be like this :

flow chart

  • If users close Trip, the workflow would be like this :

flow chart

  • For other operations like pause or resume, we will just do its own stuff without terminating Trip.js. So, there is no specific flowchart for it !

NOTE: These workflow is the latest design if version is >= 2.0.0

Clone this wiki locally