Kind: Class
Source: atloria-monorepo/packages/tour-widget/src/orchestrator.ts
Methods
| Method | Signature | Returns |
|---|---|---|
init | init() | Promise<void> |
Where it refuses work
TourOrchestratorstops the work with an early return when!res.ok, in 2 places.TourOrchestratorstops the work with an early return whenbusy.TourOrchestratorstops the work with an early return when!isEligibleForAuto(exp, this.state).TourOrchestratorstops the work with an early return when!items[idx].TourOrchestratorstops the work with an early return when!states.TourOrchestratorstops the work with an early return whenlocation.href === this.lastUrl.
When something fails
TourOrchestratorhandles failure in 15 places: it discards it silently in 10, turns it into a return value in 3, and logs it and continues in 2.
Was this page helpful?