Request to Add Promise Support for Asynchronous Operations in driver.js
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 26.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to add awaitable tours
sample:
this.driverInstance = driver({});
let isTour = true;
await this.driverInstance.drive();
let isTour = false;
I want this because I need to manage some states during the tour, like activating buttons etc.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the driverInstance.drive() API and the existing tour lifecycle. Determine when an awaitable drive() should resolve, using the provided state-management example as the acceptance criterion. Done means callers can await tour completion and reliably run state changes afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100